Hello all,
I just updated my war overlay project from master, and going through my testing an exception is being thrown with expired passwords.
I'm using a groovy script to determine display of the warning or expired pages. The warning worked out but I'm setting the expiration with
throw new javax.security.auth.login.CredentialExpiredException()
I did my development work with 6.1.0-RC4-SNAPSHOT, and after my pull/merge I'm now building off 6.1.0-SNAPSHOT.
There are no views in my overlay, it's just branding objects.
Specifically the error I'm getting is:
Caused by: java.lang.IllegalArgumentException: Cannot find state with id 'casExpiredPassView' in flow 'login' -- Known state ids are 'array<String>['initializeLoginForm', 'viewRedirectToUnauthorizedUrlView', 'viewServiceErrorView', 'redirectView', 'postView', 'headerView', 'viewGenericLoginSuccess', 'showWarningView', 'finalizeWarning', 'endWebflowExecution', 'serviceUnauthorizedCheck', 'serviceCheck', 'warn', 'gatewayRequestCheck', 'hasServiceCheck', 'renewRequestCheck', 'realSubmit', 'initialAuthenticationRequestValidationCheck', 'createTicketGrantingTicket', 'sendTicketGrantingTicket', 'generateServiceTicket', 'gatewayServicesManagementCheck', 'serviceAuthorizationCheck', 'redirect', 'handleAuthenticationFailure', 'terminateSession', 'ticketGrantingTicketCheck', 'viewLoginForm', 'showAuthenticationWarningMessages', 'proceedFromAuthenticationWarningView', 'mfa-composite', 'compositeMfaProviderSelectedAction', 'mfaUnavailable', 'mfaDenied', 'mfa-duo']'
at org.springframework.webflow.engine.Flow.getStateInstance(Flow.java:343)
at org.springframework.webflow.engine.support.DefaultTargetStateResolver.resolveTargetState(DefaultTargetStateResolver.java:60)
at org.springframework.webflow.engine.Transition.execute(Transition.java:218)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:395)
at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)
at org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:116)
at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:547)
Is there something I'm missing or should I be doing something different to trigger the "Your password has expired" view?
I look forward to any data the group has on this.
Thanks,
-Michael.
(reposted from the jasig-cas-user group)