Author: nandana
Date: Tue Sep  1 05:07:56 2009
New Revision: 809813

URL: http://svn.apache.org/viewvc?rev=809813&view=rev
Log:
RAMPART-255 Applying the patch for sample 05. Thanks Thilina

Modified:
    
webservices/rampart/branches/java/1_5/modules/rampart-samples/policy/sample05/README.txt
    
webservices/rampart/branches/java/1_5/modules/rampart-samples/policy/sample05/policy.xml
    
webservices/rampart/branches/java/1_5/modules/rampart-samples/policy/sample05/services.xml
    
webservices/rampart/branches/java/1_5/modules/rampart-samples/policy/sample05/sts_policy.xml

Modified: 
webservices/rampart/branches/java/1_5/modules/rampart-samples/policy/sample05/README.txt
URL: 
http://svn.apache.org/viewvc/webservices/rampart/branches/java/1_5/modules/rampart-samples/policy/sample05/README.txt?rev=809813&r1=809812&r2=809813&view=diff
==============================================================================
--- 
webservices/rampart/branches/java/1_5/modules/rampart-samples/policy/sample05/README.txt
 (original)
+++ 
webservices/rampart/branches/java/1_5/modules/rampart-samples/policy/sample05/README.txt
 Tue Sep  1 05:07:56 2009
@@ -1,5 +1,11 @@
 WS-Trust - RST - Resquest Security Token Service - Issuing a SAML token - 
issuing a token
 
 When using this sample with the TCPMon to monitor the soap messages, you have 
to use the 
-correct URL in the client code before build the sample 05. 
+correct URL in the client code before build the sample 05.
+
+There is a known bug in OpenSAML-1.1.jar, which is used for implementing SAML 
1.1 support in Rampart.
+So before you run this sample, please download the patched OpenSAML jar from 
here[1], and replace it 
+with the OpenSAML-1.1.jar in your $AXIS2_HOME/lib.
+
+[1] - 
http://dist.wso2.org/maven2/opensaml/opensaml/1.1.406/opensaml-1.1.406.jar  
 

Modified: 
webservices/rampart/branches/java/1_5/modules/rampart-samples/policy/sample05/policy.xml
URL: 
http://svn.apache.org/viewvc/webservices/rampart/branches/java/1_5/modules/rampart-samples/policy/sample05/policy.xml?rev=809813&r1=809812&r2=809813&view=diff
==============================================================================
--- 
webservices/rampart/branches/java/1_5/modules/rampart-samples/policy/sample05/policy.xml
 (original)
+++ 
webservices/rampart/branches/java/1_5/modules/rampart-samples/policy/sample05/policy.xml
 Tue Sep  1 05:07:56 2009
@@ -46,12 +46,10 @@
                                                                
<sp:RequireInternalReference/>
                                                        </wsp:Policy>
                                                </sp:IssuedToken>
-                                               <sp:SignedParts>
-                                                       <sp:Header Name="To" 
Namespace="http://www.w3.org/2005/08/addressing"/>
-                                               </sp:SignedParts>
                                        </wsp:Policy>
                     </sp:SupportingTokens>
                        <sp:SignedParts>
+                               <sp:Header Name="To" 
Namespace="http://www.w3.org/2005/08/addressing"/>
                                <sp:Body/>
                        </sp:SignedParts>
                        <sp:Wss11>
@@ -85,4 +83,4 @@
                        </ramp:RampartConfig>
                </wsp:All>
        </wsp:ExactlyOne>
-</wsp:Policy>
\ No newline at end of file
+</wsp:Policy>

Modified: 
webservices/rampart/branches/java/1_5/modules/rampart-samples/policy/sample05/services.xml
URL: 
http://svn.apache.org/viewvc/webservices/rampart/branches/java/1_5/modules/rampart-samples/policy/sample05/services.xml?rev=809813&r1=809812&r2=809813&view=diff
==============================================================================
--- 
webservices/rampart/branches/java/1_5/modules/rampart-samples/policy/sample05/services.xml
 (original)
+++ 
webservices/rampart/branches/java/1_5/modules/rampart-samples/policy/sample05/services.xml
 Tue Sep  1 05:07:56 2009
@@ -68,6 +68,7 @@
                                                        <wsp:Policy>
                                                                <sp:X509Token 
sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient";>
                                                                        
<wsp:Policy>
+                                                                               
<sp:RequireThumbprintReference/>
                                                                                
<sp:WssX509V3Token10/>
                                                                        
</wsp:Policy>
                                                                </sp:X509Token>
@@ -77,6 +78,7 @@
                                                        <wsp:Policy>
                                                                <sp:X509Token 
sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never";>
                                                                        
<wsp:Policy>
+                                                                               
<sp:RequireThumbprintReference/>
                                                                                
<sp:WssX509V3Token10/>
                                                                        
</wsp:Policy>
                                                                </sp:X509Token>
@@ -185,12 +187,10 @@
                                                                
<sp:RequireInternalReference/>
                                                        </wsp:Policy>
                                                </sp:IssuedToken>
-                                               <sp:SignedParts>
-                                                       <sp:Header Name="To" 
Namespace="http://www.w3.org/2005/08/addressing"/>
-                                               </sp:SignedParts>
                                        </wsp:Policy>
                     </sp:SupportingTokens>
                        <sp:SignedParts>
+                               <sp:Header Name="To" 
Namespace="http://www.w3.org/2005/08/addressing"/>
                                <sp:Body/>
                        </sp:SignedParts>
                        <sp:Wss11>

Modified: 
webservices/rampart/branches/java/1_5/modules/rampart-samples/policy/sample05/sts_policy.xml
URL: 
http://svn.apache.org/viewvc/webservices/rampart/branches/java/1_5/modules/rampart-samples/policy/sample05/sts_policy.xml?rev=809813&r1=809812&r2=809813&view=diff
==============================================================================
--- 
webservices/rampart/branches/java/1_5/modules/rampart-samples/policy/sample05/sts_policy.xml
 (original)
+++ 
webservices/rampart/branches/java/1_5/modules/rampart-samples/policy/sample05/sts_policy.xml
 Tue Sep  1 05:07:56 2009
@@ -24,6 +24,7 @@
                                                <wsp:Policy>
                                                        <sp:X509Token 
sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient";>
                                                                <wsp:Policy>
+                                                                       
<sp:RequireThumbprintReference/>                                                
                        
                                                                        
<sp:WssX509V3Token10/>
                                                                </wsp:Policy>
                                                        </sp:X509Token>
@@ -33,6 +34,7 @@
                                                <wsp:Policy>
                                                        <sp:X509Token 
sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never";>
                                                                <wsp:Policy>
+                                                                       
<sp:RequireThumbprintReference/>
                                                                        
<sp:WssX509V3Token10/>
                                                                </wsp:Policy>
                                                        </sp:X509Token>


Reply via email to