cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1327970 - /cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/sso/filter/AbstractServiceProviderFilter.java
Date Thu, 19 Apr 2012 14:43:50 GMT
Author: coheigea
Date: Thu Apr 19 14:43:50 2012
New Revision: 1327970

URL: http://svn.apache.org/viewvc?rev=1327970&view=rev
Log:
Set a random RelayState for SAML SSO

Modified:
    cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/sso/filter/AbstractServiceProviderFilter.java

Modified: cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/sso/filter/AbstractServiceProviderFilter.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/sso/filter/AbstractServiceProviderFilter.java?rev=1327970&r1=1327969&r2=1327970&view=diff
==============================================================================
--- cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/sso/filter/AbstractServiceProviderFilter.java
(original)
+++ cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/sso/filter/AbstractServiceProviderFilter.java
Thu Apr 19 14:43:50 2012
@@ -21,6 +21,7 @@ package org.apache.cxf.rs.security.saml.
 import java.io.IOException;
 import java.net.URLEncoder;
 import java.util.Collections;
+import java.util.UUID;
 
 import javax.ws.rs.core.UriInfo;
 
@@ -118,7 +119,7 @@ public abstract class AbstractServicePro
         
         SamlRequestInfo info = new SamlRequestInfo();
         info.setEncodedSamlRequest(authnRequestEncoded);
-        // set relay state if any
+        info.setRelayState(UUID.randomUUID().toString());
         return info;
     }
     



Mime
View raw message