6.1.0: Cannot find state with id 'casExpiredPassView' in flow 'login'

151 views
Skip to first unread message

Michael Lazar

unread,
Oct 17, 2019, 2:57:12 PM10/17/19
to CAS Community
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)

Misagh Moayyed

unread,
Oct 29, 2019, 6:26:59 AM10/29/19
to CAS Community
Consider switching to 6.1.0 to see if you experience the same behavior.
Reply all
Reply to author
Forward
0 new messages