Hi Ludovic,
it seems that adding the following in login-webflow.xml, solves the problem:
<end-state id="casMustChangePassView" view="casMustChangePassView"/>
Cheers,
Pavlos
On 20/06/2017 10:37 πμ, Ludovic Senecaux wrote:
It works when I add "pwdAccountLockedTime" attribute for a user.
But when I add "pwdReset = TRUE", I got
2
|
017-06-2008:56:34,445ERROR
[org.springframework.boot.web.support.ErrorPageFilter]-<Forwardingto
error page fromrequest [/login]due to exception [Exceptionthrown inst
ate 'handleAuthenticationFailure'of flow 'login']>
org.springframework.webflow.execution.FlowExecutionException:Exceptionthrown
instate 'handleAuthenticationFailure'of flow 'login'
...
Causedby:java.lang.IllegalArgumentException:Cannotfind state withid
'casMustChangePassView'inflow 'login'--Knownstate ids are
'array<String>['initialAuthenticationRequestValidationCheck',
'ticketGrantingTicketCheck', 'initializeLoginForm', 'viewLoginForm',
'realSubmit', 'showAuthenticationWarningMessages',
'handleAuthenticationFailure', 'sendTicketGrantingTicket',
'generateServiceTicket', 'viewRedirectToUnauthorizedUrlView',
'viewServiceErrorView', 'redirectView', 'postView',
'viewGenericLoginSuccess', 'showWarningView', 'finalizeWarning',
'serviceUnauthorizedCheck', 'serviceCheck', 'warn',
'gatewayRequestCheck', 'hasServiceCheck', 'renewRequestCheck',
'terminateSession', 'gatewayServicesManagementCheck',
'serviceAuthorizationCheck', 'redirect', 'mfa-gauth',
'casAuthenticationBlockedView', 'casBadWorkstationView',
'casBadHoursView', 'casAccountLockedView', 'casAccountDisabledView',
'casPasswordUpdateSuccessView', 'passwordChangeAction',
'casExpiredPassView', 'casResetPasswordSendInstructionsView',
'sendInstructions', 'casResetPasswordSentInstructionsView']'
|
Have you got an idea ?
--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/8f9982bf-defe-6e41-6305-0d883b0fe5d2%40noc.edunet.gr.