22
33/**
44 * This is {@link OsfCasWebflowConstants}, which expands the default {@link org.apereo.cas.web.flow.CasWebflowConstants}
5- * interface by adding OSF CAS customized action, state and view IDs.
5+ * interface by adding OSF CAS customized action, state, transition and view IDs as well as names web flow parameters .
66 *
77 * @author Longze Chen
88 * @since 20.0.0
99 */
1010
1111public interface OsfCasWebflowConstants {
1212
13- String ACTION_ID_OSF_PRE_INITIAL_FLOW_SETUP = "osfCasPreInitialFlowSetupAction " ;
13+ String FLOW_PARAMETER_OSF_URL = "osfUrl " ;
1414
15- String ACTION_ID_OSF_DEFAULT_LOGIN_CHECK = "osfDefaultLoginCheckAction " ;
15+ String ACTION_ID_OSF_PRE_INITIAL_FLOW_SETUP = "osfCasPreInitialFlowSetupAction " ;
1616
17- String STATE_ID_OSF_DEFAULT_LOGIN_CHECK = "osfDefaultLoginCheck " ;
17+ String ACTION_ID_OSF_NON_INTERACTIVE_AUTHENTICATION_CHECK = "osfNonInteractiveAuthenticationCheckAction " ;
1818
19- String TRANSITION_ID_USERNAME_PASSWORD_LOGIN = "continueToUsernamePasswordLogin " ;
19+ String ACTION_ID_OSF_DEFAULT_LOGIN_CHECK = "osfDefaultLoginCheckAction " ;
2020
2121 String ACTION_ID_OSF_INSTITUTION_LOGIN_CHECK = "osfInstitutionLoginCheckAction" ;
2222
23- String STATE_ID_OSF_INSTITUTION_LOGIN_CHECK = "osfInstitutionLoginCheck " ;
23+ String TRANSITION_ID_USERNAME_PASSWORD_LOGIN = "continueToUsernamePasswordLogin " ;
2424
2525 String TRANSITION_ID_INSTITUTION_LOGIN = "switchToInstitutionLogin" ;
2626
2727 String TRANSITION_ID_ORCID_LOGIN_AUTO_REDIRECT = "autoRedirectToOrcidLogin" ;
2828
29+ String TRANSITION_ID_DEFAULT_SERVICE_LOGIN_AUTO_REDIRECT = "autoRedirectToDefaultServiceLogin" ;
30+
31+ String STATE_ID_OSF_NON_INTERACTIVE_AUTHENTICATION_CHECK = "osfNonInteractiveAuthenticationCheck" ;
32+
33+ String STATE_ID_OSF_DEFAULT_LOGIN_CHECK = "osfDefaultLoginCheck" ;
34+
35+ String STATE_ID_OSF_INSTITUTION_LOGIN_CHECK = "osfInstitutionLoginCheck" ;
36+
37+ String VIEW_ID_INSTITUTION_SSO_INIT = "casInstitutionLoginView" ;
38+
2939 String VIEW_ID_ORCID_LOGIN_AUTO_REDIRECT = "casAutoRedirectToOrcidLoginView" ;
3040
31- String ACTION_ID_OSF_NON_INTERACTIVE_AUTHENTICATION_CHECK = "osfNonInteractiveAuthenticationCheckAction " ;
41+ String VIEW_ID_DEFAULT_SERVICE_LOGIN_AUTO_REDIRECT = "casAutoRedirectToDefaultServiceLoginView " ;
3242
33- String STATE_ID_OSF_NON_INTERACTIVE_AUTHENTICATION_CHECK = "osfNonInteractiveAuthenticationCheck " ;
43+ String VIEW_ID_ONE_TIME_PASSWORD_REQUIRED = "casTwoFactorLoginView " ;
3444
3545 String VIEW_ID_ACCOUNT_NOT_CONFIRMED_OSF = "casAccountNotConfirmedOsfView" ;
3646
@@ -40,9 +50,5 @@ public interface OsfCasWebflowConstants {
4050
4151 String VIEW_ID_INVALID_VERIFICATION_KEY = "casInvalidVerificationKeyView" ;
4252
43- String VIEW_ID_ONE_TIME_PASSWORD_REQUIRED = "casTwoFactorLoginView" ;
44-
45- String VIEW_ID_INSTITUTION_SSO_INIT = "casInstitutionLoginView" ;
46-
4753 String VIEW_ID_INSTITUTION_SSO_FAILED = "casInstitutionSsoFailedView" ;
4854}
0 commit comments