upgrade to v4 issues
Joseph D. Edwards
joee at uw.edu
Tue Jul 28 02:38:28 UTC 2020
Hello again,
I upgraded from v 3.4.6 to 4.0.1.
No deprecated warnings before.
The release notes state:
The redesign has resulted in the elimination of one existing extension mechanism that we don't believe was heavily used, described in the V3 documentation under the heading Custom Back-Ends<https://wiki.shibboleth.net/confluence/display/IDP30/PasswordAuthnConfiguration#PasswordAuthnConfiguration-CustomBack-Ends>.
So does that mean that system/flows/authn/password-authn-beans.xml is obsolete.
ValidateUsernamePasswordAgainstJAAS is used there but the release note say it is eliminated.
Is it? I use it, bingo!
When I login attempt, I see:
2020-07-27 14:43:17,637 - DEBUG [org.springframework.webflow.engine.Transition:222] - Exiting state 'ValidateUsernamePassword'
2020-07-27 14:43:17,637 - DEBUG [org.springframework.webflow.engine.EndState:189] - Entering state 'proceed' of flow 'authn/Password'
2020-07-27 14:43:17,637 - DEBUG [org.springframework.webflow.engine.SubflowState:112] - Mapping subflow output map[[empty]]
2020-07-27 14:43:17,637 - DEBUG [org.springframework.webflow.engine.Transition:214] - Executing [Transition at 156d90f3 on = proceed, to = CheckSubjectCanonicalization]
2020-07-27 14:43:17,637 - DEBUG [org.springframework.webflow.engine.Transition:222] - Exiting state 'CallAuthenticationFlow'
2020-07-27 14:43:17,637 - DEBUG [org.springframework.webflow.engine.DecisionState:189] - Entering state 'CheckSubjectCanonicalization' of flow 'authn'
2020-07-27 14:43:17,641 - DEBUG [org.springframework.webflow.engine.impl.FlowExecutionImpl:592] - Attempting to handle [org.springframework.webflow.execution.FlowExecutionException: Exception thrown in state 'CheckSubjectCanonicalization' of flow 'authn'] with root cause [org.springframework.expression.spel.SpelEvaluationException: EL1011E: Method call: Attempted to call method getPrincipalName() on null context object]
I am not sure where to best start, I got rid of any getPrincipalName DEPRECATED Warnings before the upgrade.
I'd like to know what replaces password-authn-beans.xml.
It is not good practice to edit files in system.
My system/flows/authn/ directories are identical between 3.4.6 and 4.0.1.
Thanks again, Joe
UWMC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20200728/c0c7183d/attachment.htm>
More information about the users
mailing list