[java-identity-provider COMMIT] in /trunk/idp-conf/src/main/resources/system/flows/saml1: sso-abstract-beans.xml sso-...

noreply at shibboleth.net noreply at shibboleth.net
Tue Jan 21 22:19:15 EST 2014


Author: tzeller
Date: Tue Jan 21 22:19:15 2014
New Revision: 5227

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5227&view=rev
Log:
UpdateSessionWithSPSession and empty outbound message handler chain stub.

Modified:
    trunk/idp-conf/src/main/resources/system/flows/saml1/sso-abstract-beans.xml
    trunk/idp-conf/src/main/resources/system/flows/saml1/sso-abstract-flow.xml

Modified: trunk/idp-conf/src/main/resources/system/flows/saml1/sso-abstract-beans.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/saml1/sso-abstract-beans.xml?rev=5227&r1=5226&r2=5227&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/saml1/sso-abstract-beans.xml (original)
+++ trunk/idp-conf/src/main/resources/system/flows/saml1/sso-abstract-beans.xml Tue Jan 21 22:19:15 2014
@@ -31,7 +31,26 @@
         scope="prototype">
         <property name="handlers">
             <util:list>
-                <!-- TODO -->
+                <!-- TODO inbound handlers -->
+                <!-- TODO CheckMandatoryIssuer ? -->
+            </util:list>
+        </property>
+    </bean>
+
+    <bean
+        id="HandleOutboundMessage"
+        class="net.shibboleth.idp.profile.impl.WebFlowMessageHandlerAdaptor"
+        scope="prototype"
+        c:messageHandler-ref="outboundMessageHandlerChain"
+        c:executionDirection="OUTBOUND" />
+
+    <bean
+        id="outboundMessageHandlerChain"
+        class="org.opensaml.messaging.handler.impl.BasicMessageHandlerChain"
+        scope="prototype">
+        <property name="handlers">
+            <util:list>
+                <!-- TODO outbound handlers -->
             </util:list>
         </property>
     </bean>
@@ -109,6 +128,14 @@
         class="net.shibboleth.idp.saml.impl.profile.saml1.AddResponseShell" />
 
     <bean
+        id="UpdateSessionWithSPSession"
+        class="net.shibboleth.idp.session.impl.UpdateSessionWithSPSession"
+        scope="prototype"
+        p:enabled="${idp.session.enabled}"
+        p:sessionManager-ref="shibboleth.SessionManager"
+        p:sessionLifetime="${idp.session.defaultSPlifetime}" />
+
+    <bean
         id="RecordResponseComplete"
         class="net.shibboleth.idp.profile.impl.RecordResponseComplete" />
 

Modified: trunk/idp-conf/src/main/resources/system/flows/saml1/sso-abstract-flow.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/saml1/sso-abstract-flow.xml?rev=5227&r1=5226&r2=5227&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/saml1/sso-abstract-flow.xml (original)
+++ trunk/idp-conf/src/main/resources/system/flows/saml1/sso-abstract-flow.xml Tue Jan 21 22:19:15 2014
@@ -28,8 +28,6 @@
         <evaluate expression="InitializeRelyingPartyContext" />
         <transition on="proceed" to="SelectRelyingPartyConfiguration" />
     </action-state>
-
-    <!-- TODO CheckMandatoryIssuer during inbound message handling ? -->
 
     <action-state id="SelectRelyingPartyConfiguration">
         <evaluate expression="SelectRelyingPartyConfiguration" />
@@ -66,12 +64,26 @@
 
     <action-state id="FilterAttributes">
         <evaluate expression="FilterAttributes" />
-        <transition on="proceed" to="RecordResponseComplete" />
+        <transition on="proceed" to="UpdateSessionWithSPSession" />
     </action-state>
     
     <!-- TODO 
     <action-state id="AddResponseShell">
         <evaluate expression="AddResponseShell" />
+        <transition on="proceed" to="RecordResponseComplete" />
+    </action-state>
+    -->
+    
+    <action-state id="UpdateSessionWithSPSession">
+        <evaluate expression="UpdateSessionWithSPSession" />
+        <transition on="proceed" to="RecordResponseComplete"/>
+        <!-- Mask storage failure. -->
+        <transition on="IOError" to="RecordResponseComplete"/>
+    </action-state>
+    
+    <!-- TODO needs non-null outbound message context
+    <action-state id="HandleOutboundMessage">
+        <evaluate expression="HandleOutboundMessage" />
         <transition on="proceed" to="RecordResponseComplete" />
     </action-state>
     -->



More information about the commits mailing list