[java-identity-provider COMMIT] /trunk/idp-conf/src/main/resources/system/conf/session-manager.xml

noreply at shibboleth.net noreply at shibboleth.net
Tue Dec 31 17:15:36 EST 2013


Author: scantor
Date: Tue Dec 31 17:15:36 2013
New Revision: 5129

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5129&view=rev
Log:
Add mappings for SPSession serialization.

Modified:
    trunk/idp-conf/src/main/resources/system/conf/session-manager.xml

Modified: trunk/idp-conf/src/main/resources/system/conf/session-manager.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/conf/session-manager.xml?rev=5129&r1=5128&r2=5129&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/conf/session-manager.xml (original)
+++ trunk/idp-conf/src/main/resources/system/conf/session-manager.xml Tue Dec 31 17:15:36 2013
@@ -15,6 +15,21 @@
     <bean id="shibboleth.SessionIDGenerator" class="net.shibboleth.utilities.java.support.security.SecureRandomIdentifierGenerationStrategy"
         c:identifierSize="${idp.session.idSize}" />
 
+    <bean id="shibboleth.SPSessionSerializerRegistry" class="net.shibboleth.idp.session.SPSessionSerializerRegistry"
+            depends-on="shibboleth.OpenSAMLConfig">
+        <constructor-arg>
+            <map>
+                <entry key="#{ T(net.shibboleth.idp.session.BasicSPSession) }">
+                    <bean class="net.shibboleth.idp.session.impl.BasicSPSessionSerializer" c:offset="PT30M" />
+                </entry>
+                <entry key="#{ T(net.shibboleth.idp.saml.session.SAML2SPSession) }">
+                    <bean class="net.shibboleth.idp.saml.impl.session.SAML2SPSessionSerializer" c:offset="PT30M"
+                        p:parserPool-ref="shibboleth.ParserPool" />
+                </entry>
+            </map>
+        </constructor-arg>
+    </bean>
+
     <bean id="shibboleth.SessionManager" class="net.shibboleth.idp.session.impl.StorageBackedSessionManager"
             p:httpServletRequest-ref="shibboleth.HttpServletRequest" p:httpServletResponse-ref="shibboleth.HttpServletResponse"
             p:authenticationFlowDescriptors="#{@'shibboleth.AvailableAuthenticationFlows'.?[id matches 'AuthenticationFlow/(${idp.authn.flows})']}"
@@ -26,6 +41,7 @@
             p:maskStorageFailure="${idp.session.maskStorageFailure}"
             p:trackSPSessions="${idp.session.trackSPSessions}"
             p:secondaryServiceIndex="${idp.session.secondaryServiceIndex}"
-            p:IDGenerator-ref="shibboleth.SessionIDGenerator" />
+            p:IDGenerator-ref="shibboleth.SessionIDGenerator"
+            p:SPSessionSerializerRegistry-ref="shibboleth.SPSessionSerializerRegistry" />
 
 </beans>



More information about the commits mailing list