Consider switching to 6.1.0 to see if you experience the same behavior. On Thursday, October 17, 2019 at 10:57:12 PM UTC+4, Michael Lazar wrote: > > 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) >
-- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/3dd3919a-e591-4588-8dbf-fd819b500fff%40apereo.org.
