Hi,

CAS 6.6.x with MFA.   After I correctly enter user credentials, I will be 
asked for a code, if that fails, CAS shows casMfaDeniedView.  

The following CAS code (if user enters incorrect code) simply takes user 
back to MFA login page, so that user can retry. I would not want users to 
have unlimited retry, so I want to extend the flow, adding a button that 
takes user back to login page, clearing credentials already established 
during the initial login flow.

But, MFA flow and Login flow are two different flows, i have trouble to 
implement this correctly.  How do you do this?

Thanks,
Yan

            val realSubmitState = createActionState(flow, 
CasWebflowConstants.STATE_ID_REAL_SUBMIT,
                
createEvaluateAction(CasWebflowConstants.ACTION_ID_OTP_AUTHENTICATION_ACTION));
            createTransitionForState(realSubmitState, 
CasWebflowConstants.TRANSITION_ID_SUCCESS, 
CasWebflowConstants.STATE_ID_SUCCESS);
            createTransitionForState(realSubmitState, 
CasWebflowConstants.TRANSITION_ID_ERROR, 
CasWebflowConstants.STATE_ID_VIEW_LOGIN_FORM);            

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/30c1374d-2230-47d4-ac91-8d7f0b20677fn%40apereo.org.

Reply via email to