ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1630066 - /webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/saml/ext/AssertionWrapper.java
Date Wed, 08 Oct 2014 10:39:33 GMT
Author: coheigea
Date: Wed Oct  8 10:39:33 2014
New Revision: 1630066

URL: http://svn.apache.org/r1630066
Log:
[WSS-516] - Change saml AssertionWrapper to setSamlVersion before calling callback handler.
Thanks to Jason Pell for the patch

Modified:
    webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/saml/ext/AssertionWrapper.java

Modified: webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/saml/ext/AssertionWrapper.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/saml/ext/AssertionWrapper.java?rev=1630066&r1=1630065&r2=1630066&view=diff
==============================================================================
--- webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/saml/ext/AssertionWrapper.java
(original)
+++ webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/saml/ext/AssertionWrapper.java
Wed Oct  8 10:39:33 2014
@@ -223,7 +223,10 @@ public class AssertionWrapper {
         // Create the SAML callback that the handler will use to get the required data from
the 
         // client application.
         //
-        SAMLCallback[] samlCallbacks = new SAMLCallback[] { new SAMLCallback() };
+        SAMLCallback samlCallback = new SAMLCallback();
+        samlCallback.setSamlVersion(parms.getSAMLVersion());
+        
+        SAMLCallback[] samlCallbacks = new SAMLCallback[] { samlCallback };
 
         try {
             // Get the SAML source data using the currently configured callback implementation.



Mime
View raw message