Class DefaultAuthenticator

  • All Implemented Interfaces:
    step.core.authentication.Authenticator<step.core.auth.Credentials>, step.core.GlobalContextAware

    public class DefaultAuthenticator
    extends CredentialsAuthenticator
    • Constructor Detail

      • DefaultAuthenticator

        public DefaultAuthenticator()
    • Method Detail

      • setGlobalContext

        public void setGlobalContext​(step.core.GlobalContext context)
        Specified by:
        setGlobalContext in interface step.core.GlobalContextAware
        Overrides:
        setGlobalContext in class CredentialsAuthenticator
      • authenticate

        public step.core.authentication.AuthenticationResults authenticate​(step.core.auth.Credentials credentials)
      • resetPassword

        public String resetPassword​(String userId)
      • changePassword

        public void changePassword​(String userId,
                                   String password)
      • implementOTP

        public boolean implementOTP()
      • supportPasswordManagement

        public boolean supportPasswordManagement()
      • setRoleFromProvider

        public void setRoleFromProvider​(step.core.authentication.AuthenticationResults authenticationResults)
      • defaultAdminUser

        public static step.core.access.User defaultAdminUser()