[java-identity-provider COMMIT] in /trunk/idp-conf/src/main/resources: flows/authn/conditions/expiring-password/expir...
noreply at shibboleth.net
noreply at shibboleth.net
Wed Jul 9 11:42:21 EDT 2014
Author: scantor
Date: Wed Jul 9 11:42:21 2014
New Revision: 6253
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=6253&view=rev
Log:
Insert a more useful example for handling expiring password events.
Added:
trunk/idp-conf/src/main/resources/views/expiring-password.vm (with props)
Modified:
trunk/idp-conf/src/main/resources/flows/authn/conditions/expiring-password/expiring-password-flow.xml
trunk/idp-conf/src/main/resources/system/flows/authn/password-authn-beans.xml
Modified: trunk/idp-conf/src/main/resources/flows/authn/conditions/expiring-password/expiring-password-flow.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/flows/authn/conditions/expiring-password/expiring-password-flow.xml?rev=6253&r1=6252&r2=6253&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/flows/authn/conditions/expiring-password/expiring-password-flow.xml (original)
+++ trunk/idp-conf/src/main/resources/flows/authn/conditions/expiring-password/expiring-password-flow.xml Wed Jul 9 11:42:21 2014
@@ -7,9 +7,19 @@
<!-- Rudimentary impediment to direct execution of subflow. -->
<input name="calledAsSubflow" type="boolean" required="true" />
- <on-start>
- <evaluate expression="'proceed'" />
- </on-start>
+ <view-state id="ExpiringPassword" view="expiring-password">
+ <on-render>
+ <evaluate expression="opensamlProfileRequestContext" result="viewScope.profileRequestContext" />
+ <evaluate expression="opensamlProfileRequestContext.getSubcontext(T(net.shibboleth.idp.authn.context.AuthenticationContext))" result="viewScope.authenticationContext" />
+ <evaluate expression="authenticationContext.getSubcontext(T(net.shibboleth.idp.authn.context.AuthenticationErrorContext))" result="viewScope.authenticationErrorContext" />
+ <evaluate expression="authenticationContext.getSubcontext(T(net.shibboleth.idp.authn.context.AuthenticationWarningContext))" result="viewScope.authenticationWarningContext" />
+ <evaluate expression="authenticationContext.getSubcontext(T(net.shibboleth.idp.authn.context.LDAPResponseContext))" result="viewScope.ldapResponseContext" />
+ <evaluate expression="T(net.shibboleth.utilities.java.support.codec.HTMLEncoder)" result="viewScope.encoder" />
+ <evaluate expression="flowRequestContext.getExternalContext().getNativeRequest()" result="viewScope.request" />
+ <evaluate expression="flowRequestContext.getExternalContext().getNativeResponse()" result="viewScope.response" />
+ </on-render>
+ <transition on="proceed" to="proceed" />
+ </view-state>
<end-state id="proceed" />
Modified: trunk/idp-conf/src/main/resources/system/flows/authn/password-authn-beans.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/authn/password-authn-beans.xml?rev=6253&r1=6252&r2=6253&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/authn/password-authn-beans.xml (original)
+++ trunk/idp-conf/src/main/resources/system/flows/authn/password-authn-beans.xml Wed Jul 9 11:42:21 2014
@@ -79,7 +79,7 @@
<!-- used to test account states
see businessCategory in src/test/config/ldap.ldif
<property name="authenticationResponseHandlers">
- <bean class="idp.MockAuthenticationResponseHandler">
+ <bean class="common.MockAuthenticationResponseHandler">
<constructor-arg>
<array>
<bean class="org.ldaptive.auth.AccountState">
More information about the commits
mailing list