[java-identity-provider COMMIT] /trunk/idp-conf/src/main/resources/system/flows/authn/jaas-authn-flow.xml

noreply at shibboleth.net noreply at shibboleth.net
Tue Dec 10 13:28:02 EST 2013


Author: scantor
Date: Tue Dec 10 13:28:02 2013
New Revision: 5020

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5020&view=rev
Log:
Sync to testbed

Modified:
    trunk/idp-conf/src/main/resources/system/flows/authn/jaas-authn-flow.xml

Modified: trunk/idp-conf/src/main/resources/system/flows/authn/jaas-authn-flow.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/authn/jaas-authn-flow.xml?rev=5020&r1=5019&r2=5020&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/authn/jaas-authn-flow.xml (original)
+++ trunk/idp-conf/src/main/resources/system/flows/authn/jaas-authn-flow.xml Tue Dec 10 13:28:02 2013
@@ -43,11 +43,20 @@
         
         <transition on="proceed" to="CallSubjectCanonicalization" />
         
-        <transition on="#{ getConversationScope().get('org.opensaml.profile.context.ProfileRequestContext').getSubcontext(T(net.shibboleth.idp.authn.context.AuthenticationContext), false).getSubcontext(T(net.shibboleth.idp.authn.context.AuthenticationErrorContext), true).isClassifiedError('ExpiredPassword') }" to="CallExpiredPassword" />
-        <transition on="#{ getConversationScope().get('org.opensaml.profile.context.ProfileRequestContext').getSubcontext(T(net.shibboleth.idp.authn.context.AuthenticationContext), false).getSubcontext(T(net.shibboleth.idp.authn.context.AuthenticationErrorContext), true).isClassifiedError('AccountLocked') }" to="CallAccountLocked" />
+        <!-- Fall through to a different flow if login fails on a passive request. -->
+        <transition on="#{ flowRequestContext.getConversationScope().get('org.opensaml.profile.context.ProfileRequestContext').getSubcontext(T(net.shibboleth.idp.authn.context.AuthenticationContext), false).isPassive() }" to="ReselectFlow" />
+        
+        <!-- Call outs for exceptional conditions. -->
+        <transition on="ExpiringPassword" to="CallExpiringPassword" />
+        <transition on="ExpiredPassword" to="CallExpiredPassword" />
+        <transition on="AccountLocked" to="CallAccountLocked" />
         
         <transition on="#{true}" to="DisplayUsernamePasswordPage" />
     </action-state>
+
+    <subflow-state id="CallExpiringPassword" subflow="Authentication.ExpiringPassword">
+        <transition on="proceed" to="CallSubjectCanonicalization" />
+    </subflow-state>
 
     <subflow-state id="CallExpiredPassword" subflow="Authentication.ExpiredPassword">
         <transition on="proceed" to="DisplayUsernamePasswordPage" />



More information about the commits mailing list