cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1339573 - /cxf/trunk/rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/AbstractSSOSpHandler.java
Date Thu, 17 May 2012 12:29:52 GMT
Author: coheigea
Date: Thu May 17 12:29:52 2012
New Revision: 1339573

URL: http://svn.apache.org/viewvc?rev=1339573&view=rev
Log:
Instantiate OpenSAML

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

Modified: cxf/trunk/rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/AbstractSSOSpHandler.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/AbstractSSOSpHandler.java?rev=1339573&r1=1339572&r2=1339573&view=diff
==============================================================================
--- cxf/trunk/rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/AbstractSSOSpHandler.java
(original)
+++ cxf/trunk/rt/rs/security/sso/saml/src/main/java/org/apache/cxf/rs/security/saml/sso/AbstractSSOSpHandler.java
Thu May 17 12:29:52 2012
@@ -24,12 +24,17 @@ import javax.ws.rs.Path;
 
 import org.apache.cxf.jaxrs.utils.HttpUtils;
 import org.apache.cxf.rs.security.saml.sso.state.SPStateManager;
+import org.apache.ws.security.saml.ext.OpenSAMLUtil;
 
 @Path("sso")
 public class AbstractSSOSpHandler {
     private SPStateManager stateProvider;
     private long stateTimeToLive = SSOConstants.DEFAULT_STATE_TIME;
     
+    static {
+        OpenSAMLUtil.initSamlEngine();
+    }
+    
     //TODO: support attaching a signature to the cookie value
     protected String createCookie(String name, 
                                   String value, 



Mime
View raw message