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 java.lang.String resetPassword​(java.lang.String userId)
      • changePassword

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

        public boolean implementOTP()
      • supportPasswordManagement

        public boolean supportPasswordManagement()
      • encryptPwd

        public java.lang.String encryptPwd​(java.lang.String pwd)
      • defaultAdminUser

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