Author: alessio.soldano(a)jboss.com
Date: 2013-07-26 06:01:25 -0400 (Fri, 26 Jul 2013)
New Revision: 17815
Added:
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX2121_SSL_UT_Supporting_Token-BINDING.xml
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX213_WSS10_UT_Mutual_Auth_X509_Sign_Encrypt-BINDING.xml
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX213_WSS10_UT_Mutual_Auth_X509_Sign_Encrypt-BINDING_OPERATION_INPUT.xml
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX213_WSS10_UT_Mutual_Auth_X509_Sign_Encrypt-BINDING_OPERATION_OUTPUT.xml
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX214_WSS11_User_Name_Cert_Sign_Encrypt-BINDING.xml
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX214_WSS11_User_Name_Cert_Sign_Encrypt-BINDING_OPERATION_INPUT.xml
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX214_WSS11_User_Name_Cert_Sign_Encrypt-BINDING_OPERATION_OUTPUT.xml
Modified:
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/org.jboss.wsf.stack.cxf.extensions.policy.PolicyAttachmentStore
Log:
[JBWS-3648] Adding sets for some of the WS-Security Policy Examples 2.1.x
Added:
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX2121_SSL_UT_Supporting_Token-BINDING.xml
===================================================================
---
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX2121_SSL_UT_Supporting_Token-BINDING.xml
(rev 0)
+++
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX2121_SSL_UT_Supporting_Token-BINDING.xml 2013-07-26
10:01:25 UTC (rev 17815)
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsp:Policy wsu:Id="WS-SP-EX2121_binding_policy"
+
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
+
xmlns:wsp="http://www.w3.org/ns/ws-policy"
+
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702&...
+ <sp:TransportBinding>
+ <wsp:Policy>
+ <sp:TransportToken>
+ <wsp:Policy>
+ <sp:HttpsToken>
+ <wsp:Policy/>
+ </sp:HttpsToken>
+ </wsp:Policy>
+ </sp:TransportToken>
+ <sp:AlgorithmSuite>
+ <wsp:Policy>
+ <sp:Basic128 />
+ </wsp:Policy>
+ </sp:AlgorithmSuite>
+ <sp:Layout>
+ <wsp:Policy>
+ <sp:Strict />
+ </wsp:Policy>
+ </sp:Layout>
+ <sp:IncludeTimestamp />
+ </wsp:Policy>
+ </sp:TransportBinding>
+ <sp:SupportingTokens>
+ <wsp:Policy>
+ <sp:UsernameToken
sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/...
+ <wsp:Policy/>
+ </sp:UsernameToken>
+ </wsp:Policy>
+ </sp:SupportingTokens>
+</wsp:Policy>
\ No newline at end of file
Added:
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX213_WSS10_UT_Mutual_Auth_X509_Sign_Encrypt-BINDING.xml
===================================================================
---
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX213_WSS10_UT_Mutual_Auth_X509_Sign_Encrypt-BINDING.xml
(rev 0)
+++
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX213_WSS10_UT_Mutual_Auth_X509_Sign_Encrypt-BINDING.xml 2013-07-26
10:01:25 UTC (rev 17815)
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsp:Policy wsu:Id="WS-SP-EX213_binding_policy"
+
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
+
xmlns:wsp="http://www.w3.org/ns/ws-policy"
+
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702&...
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:AsymmetricBinding>
+ <wsp:Policy>
+ <sp:InitiatorToken>
+ <wsp:Policy>
+ <sp:X509Token
+
sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/...
+ <wsp:Policy>
+ <sp:WssX509V3Token10 />
+ </wsp:Policy>
+ </sp:X509Token>
+ </wsp:Policy>
+ </sp:InitiatorToken>
+ <sp:RecipientToken>
+ <wsp:Policy>
+ <sp:X509Token
+
sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/...
+ <wsp:Policy>
+ <sp:WssX509V3Token10 />
+ </wsp:Policy>
+ </sp:X509Token>
+ </wsp:Policy>
+ </sp:RecipientToken>
+ <sp:AlgorithmSuite>
+ <wsp:Policy>
+ <sp:Basic128/>
+ </wsp:Policy>
+ </sp:AlgorithmSuite>
+ <sp:Layout>
+ <wsp:Policy>
+ <sp:Strict/>
+ </wsp:Policy>
+ </sp:Layout>
+ <sp:IncludeTimestamp/>
+ <sp:OnlySignEntireHeadersAndBody/>
+ </wsp:Policy>
+ </sp:AsymmetricBinding>
+ <sp:Wss10>
+ <wsp:Policy>
+ <sp:MustSupportRefKeyIdentifier/>
+ </wsp:Policy>
+ </sp:Wss10>
+ <sp:SignedEncryptedSupportingTokens>
+ <wsp:Policy>
+ <sp:UsernameToken
+
sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/...
+ <wsp:Policy>
+ <sp:WssUsernameToken10/>
+ </wsp:Policy>
+ </sp:UsernameToken>
+ </wsp:Policy>
+ </sp:SignedEncryptedSupportingTokens>
+ </wsp:All>
+ </wsp:ExactlyOne>
+</wsp:Policy>
\ No newline at end of file
Added:
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX213_WSS10_UT_Mutual_Auth_X509_Sign_Encrypt-BINDING_OPERATION_INPUT.xml
===================================================================
---
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX213_WSS10_UT_Mutual_Auth_X509_Sign_Encrypt-BINDING_OPERATION_INPUT.xml
(rev 0)
+++
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX213_WSS10_UT_Mutual_Auth_X509_Sign_Encrypt-BINDING_OPERATION_INPUT.xml 2013-07-26
10:01:25 UTC (rev 17815)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsp:Policy wsu:Id="WS-SP-EX213_Binding_Operation_Input_Policy"
+
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
+
xmlns:wsp="http://www.w3.org/ns/ws-policy"
+
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702&...
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:EncryptedParts>
+ <sp:Body/>
+ </sp:EncryptedParts>
+ <sp:SignedParts>
+ <sp:Body/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+</wsp:Policy>
\ No newline at end of file
Added:
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX213_WSS10_UT_Mutual_Auth_X509_Sign_Encrypt-BINDING_OPERATION_OUTPUT.xml
===================================================================
---
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX213_WSS10_UT_Mutual_Auth_X509_Sign_Encrypt-BINDING_OPERATION_OUTPUT.xml
(rev 0)
+++
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX213_WSS10_UT_Mutual_Auth_X509_Sign_Encrypt-BINDING_OPERATION_OUTPUT.xml 2013-07-26
10:01:25 UTC (rev 17815)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsp:Policy wsu:Id="WS-SP-EX213_Binding_Operation_Output_Policy"
+
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
+
xmlns:wsp="http://www.w3.org/ns/ws-policy"
+
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702&...
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:EncryptedParts>
+ <sp:Body/>
+ </sp:EncryptedParts>
+ <sp:SignedParts>
+ <sp:Body/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+</wsp:Policy>
\ No newline at end of file
Added:
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX214_WSS11_User_Name_Cert_Sign_Encrypt-BINDING.xml
===================================================================
---
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX214_WSS11_User_Name_Cert_Sign_Encrypt-BINDING.xml
(rev 0)
+++
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX214_WSS11_User_Name_Cert_Sign_Encrypt-BINDING.xml 2013-07-26
10:01:25 UTC (rev 17815)
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsp:Policy wsu:Id="WS-SP-EX214_binding_policy"
+
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
+
xmlns:wsp="http://www.w3.org/ns/ws-policy"
+
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702&...
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SymmetricBinding>
+ <wsp:Policy>
+ <sp:ProtectionToken>
+ <wsp:Policy>
+ <sp:X509Token
+
sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/...
+ <wsp:Policy>
+ <sp:RequireThumbprintReference />
+ <sp:WssX509V3Token11/>
+ </wsp:Policy>
+ </sp:X509Token>
+ </wsp:Policy>
+ </sp:ProtectionToken>
+ <sp:AlgorithmSuite>
+ <wsp:Policy>
+ <sp:Basic128/>
+ </wsp:Policy>
+ </sp:AlgorithmSuite>
+ <sp:Layout>
+ <wsp:Policy>
+ <sp:Strict/>
+ </wsp:Policy>
+ </sp:Layout>
+ <sp:IncludeTimestamp/>
+ <sp:OnlySignEntireHeadersAndBody/>
+ </wsp:Policy>
+ </sp:SymmetricBinding>
+ <sp:SignedEncryptedSupportingTokens>
+ <wsp:Policy>
+ <sp:UsernameToken
+
sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/...
+ <wsp:Policy>
+ <sp:WssUsernameToken11/>
+ </wsp:Policy>
+ </sp:UsernameToken>
+ </wsp:Policy>
+ </sp:SignedEncryptedSupportingTokens>
+ <sp:Wss11>
+ <wsp:Policy>
+ <sp:MustSupportRefKeyIdentifier/>
+ <sp:MustSupportRefIssuerSerial/>
+ <sp:MustSupportRefThumbprint/>
+ <sp:MustSupportRefEncryptedKey/>
+ </wsp:Policy>
+ </sp:Wss11>
+ </wsp:All>
+ </wsp:ExactlyOne>
+</wsp:Policy>
\ No newline at end of file
Added:
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX214_WSS11_User_Name_Cert_Sign_Encrypt-BINDING_OPERATION_INPUT.xml
===================================================================
---
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX214_WSS11_User_Name_Cert_Sign_Encrypt-BINDING_OPERATION_INPUT.xml
(rev 0)
+++
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX214_WSS11_User_Name_Cert_Sign_Encrypt-BINDING_OPERATION_INPUT.xml 2013-07-26
10:01:25 UTC (rev 17815)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsp:Policy wsu:Id="WS-SP-EX214_Binding_Operation_Input_Policy"
+
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
+
xmlns:wsp="http://www.w3.org/ns/ws-policy"
+
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702&...
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:EncryptedParts>
+ <sp:Body/>
+ </sp:EncryptedParts>
+ <sp:SignedParts>
+ <sp:Body/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+</wsp:Policy>
\ No newline at end of file
Added:
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX214_WSS11_User_Name_Cert_Sign_Encrypt-BINDING_OPERATION_OUTPUT.xml
===================================================================
---
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX214_WSS11_User_Name_Cert_Sign_Encrypt-BINDING_OPERATION_OUTPUT.xml
(rev 0)
+++
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/WS-SP-EX214_WSS11_User_Name_Cert_Sign_Encrypt-BINDING_OPERATION_OUTPUT.xml 2013-07-26
10:01:25 UTC (rev 17815)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsp:Policy wsu:Id="WS-SP-EX214_Binding_Operation_Output_Policy"
+
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-w...
+
xmlns:wsp="http://www.w3.org/ns/ws-policy"
+
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702&...
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:EncryptedParts>
+ <sp:Body/>
+ </sp:EncryptedParts>
+ <sp:SignedParts>
+ <sp:Body/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+</wsp:Policy>
\ No newline at end of file
Modified:
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/org.jboss.wsf.stack.cxf.extensions.policy.PolicyAttachmentStore
===================================================================
---
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/org.jboss.wsf.stack.cxf.extensions.policy.PolicyAttachmentStore 2013-07-26
09:08:56 UTC (rev 17814)
+++
stack/cxf/trunk/modules/client/src/main/resources/META-INF/policies/org.jboss.wsf.stack.cxf.extensions.policy.PolicyAttachmentStore 2013-07-26
10:01:25 UTC (rev 17815)
@@ -1,5 +1,8 @@
AsymmetricBinding_X509v1_TripleDesRsa15_EncryptBeforeSigning_ProtectTokens
AsymmetricBinding_X509v1_GCM256OAEP_ProtectTokens
+WS-SP-EX2121_SSL_UT_Supporting_Token
+WS-SP-EX213_WSS10_UT_Mutual_Auth_X509_Sign_Encrypt
+WS-SP-EX214_WSS11_User_Name_Cert_Sign_Encrypt
WS-SP-EX221_WSS10_Mutual_Auth_X509_Sign_Encrypt
WS-SP-EX222_WSS10_Mutual_Auth_X509_Sign_Encrypt
WS-SP-EX223_WSS11_Anonymous_X509_Sign_Encrypt