[java-identity-provider COMMIT] /trunk/idp-conf/src/main/resources/system/flows/saml/saml2/slo-front-abstract-flow.xml

noreply at shibboleth.net noreply at shibboleth.net
Sun Oct 26 11:31:36 EDT 2014


Author: scantor
Date: Sun Oct 26 11:31:35 2014
New Revision: 6786

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=6786&view=rev
Log:
IDP-224 - Add a PartialLogout piece pending propagation working later

Modified:
    trunk/idp-conf/src/main/resources/system/flows/saml/saml2/slo-front-abstract-flow.xml

Modified: trunk/idp-conf/src/main/resources/system/flows/saml/saml2/slo-front-abstract-flow.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/saml/saml2/slo-front-abstract-flow.xml?rev=6786&r1=6785&r2=6786&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/saml/saml2/slo-front-abstract-flow.xml (original)
+++ trunk/idp-conf/src/main/resources/system/flows/saml/saml2/slo-front-abstract-flow.xml Sun Oct 26 11:31:35 2014
@@ -86,10 +86,29 @@
         <evaluate expression="AddLogoutResponse" />
         <evaluate expression="AddInResponseToToResponse" />
         
+        <evaluate expression="'proceed'" />
+        
+        <transition on="proceed" to="CheckForPartialLogout" />
+    </action-state>
+    
+    <!-- TODO: this partial logout machinery will change once propagation exists -->
+    
+    <decision-state id="CheckForPartialLogout">
+        <if test="opensamlProfileRequestContext.getSubcontext(T(net.shibboleth.idp.session.context.LogoutContext), true).getSessionMap().isEmpty()"
+            then="CompleteResponse" else="PartialLogout" />
+    </decision-state>
+    
+    <action-state id="PartialLogout">
+        <evaluate expression="AddPartialLogoutStatusToResponse" />
+        
+        <evaluate expression="'proceed'" />
+        <transition on="proceed" to="CompleteResponse" />
+    </action-state>
+
+    <action-state id="CompleteResponse">
         <evaluate expression="PostResponsePopulateAuditContext" />
         
         <evaluate expression="'proceed'" />
-        
         <transition on="proceed" to="ReturnToParentFlow" />
     </action-state>
 



More information about the commits mailing list