CAS 6.3.2 Including Password Management modules does not updated webflows

69 views
Skip to first unread message

Sadi El Assadi

unread,
Apr 29, 2021, 12:16:27 PM4/29/21
to CAS Community
Hi,

I'm trying to implement simple logic for password recovery, but as soon as user clicks the "Forgot your password" button, I am getting the following error about missing webflow trnsitions:

org.springframework.webflow.engine.NoMatchingTransitionException: No transition found on occurence of event 'resetPassword' in state 'viewLoginForm' of flow 'login' -- valid transitional criteria are array<TransitionCriteria>[submit] -- likely programmer error, check the set of TransitionCriteria for this state at org.springframework.webflow.engine.TransitionableState.getRequiredTransition(TransitionableState.java:93) at
...


My viewLoginForm is using the following code to trigger password reset:

resetpwd.PNG

I tried including the following CAS modules to my gradle build, expecting one of them would add the missing webflow transition:
  • cas-server-support-pm-webflow
  • cas-server-support-pm
  • cas-server-support-pm-core
However, according to the error message the only know transition for viewLoginForm is submit event, meaning that no additional flows were added. I was hesitant to modify the login webflows manually, as I found in different places that flows should be automatically extended by the included CAS modules.

Can someone please provide some information about whats the standard/best way of adding password management flows?

Thanks,
Sadi
Reply all
Reply to author
Forward
0 new messages