expiring-password intercept flow configuration
Losen, Stephen C. (scl)
scl at virginia.edu
Fri May 11 17:55:15 EDT 2018
Hi folks,
I'm running IDP 3.3.2 and I am looking at repurposing the expiring-password intercept flow to remind our students when they have required tasks to complete. (Might be nice if there was a more general purpose flow for doing this.)
As a first cut, I just wanted to trigger the flow without changing it. In relying-party.xml I added 'expiring-password' to DefaultRelyingParty:
<bean parent="SAML2.SSO" p:postAuthenticationFlows="#{{'context-check', 'expiring-password'}}" />
In conf/intercept/expiring-password-intercept-config.xml I changed p:resultIfMissing to "false" figuring that would cause the expiring password page to display (we don't have a "passwordExpiration" attribute).
But I got this error:
ERROR [net.shibboleth.idp.profile.interceptor.impl.PopulateProfileInterceptorContext:129] - Profile Action PopulateProfileInterceptorContext: Configured interceptor flow intercept/expiring-password not available for use
After comparing 'context-check' and 'expiring-password' entries in config files I noticed in conf/intercept/profile-intercept.xml that "intercept/expiring-password" was not listed in the "shibboleth.AvailableInterceptFlows". The comment in the file indicates that this is not necessary, but the other intercept flows are listed there so I copied the 'context-check' line and changed the copy to
<bean id="intercept/expiring-password" parent="shibboleth.InterceptFlow" />
and that did the trick. The expiring password message now displays.
Was this omission in the config deliberate, and if so, why?
Was my solution correct?
Stephen C. Losen
ITS - Systems and Storage
University of Virginia
scl at virginia.edu 434-924-0640
More information about the users
mailing list