Class ConsoleUsernamePasswordAuthenticator

    • Constructor Detail

      • ConsoleUsernamePasswordAuthenticator

        public ConsoleUsernamePasswordAuthenticator()
    • Method Detail

      • requiresUser

        public boolean requiresUser()
        Specified by:
        requiresUser in interface org.keycloak.authentication.Authenticator
      • challenge

        protected org.keycloak.authentication.ConsoleDisplayMode challenge​(org.keycloak.authentication.AuthenticationFlowContext context)
      • authenticate

        public void authenticate​(org.keycloak.authentication.AuthenticationFlowContext context)
        Specified by:
        authenticate in interface org.keycloak.authentication.Authenticator
      • setDuplicateUserChallenge

        protected javax.ws.rs.core.Response setDuplicateUserChallenge​(org.keycloak.authentication.AuthenticationFlowContext context,
                                                                      String eventError,
                                                                      String loginFormError,
                                                                      org.keycloak.authentication.AuthenticationFlowError authenticatorError)
        Overrides:
        setDuplicateUserChallenge in class AbstractUsernameFormAuthenticator
      • action

        public void action​(org.keycloak.authentication.AuthenticationFlowContext context)
        Specified by:
        action in interface org.keycloak.authentication.Authenticator
        Overrides:
        action in class AbstractUsernameFormAuthenticator
      • configuredFor

        public boolean configuredFor​(org.keycloak.models.KeycloakSession session,
                                     org.keycloak.models.RealmModel realm,
                                     org.keycloak.models.UserModel user)
        Specified by:
        configuredFor in interface org.keycloak.authentication.Authenticator
      • setRequiredActions

        public void setRequiredActions​(org.keycloak.models.KeycloakSession session,
                                       org.keycloak.models.RealmModel realm,
                                       org.keycloak.models.UserModel user)
        Specified by:
        setRequiredActions in interface org.keycloak.authentication.Authenticator