Package step.core.access
Class DefaultAuthenticator
- java.lang.Object
-
- step.core.access.CredentialsAuthenticator
-
- step.core.access.DefaultAuthenticator
-
- All Implemented Interfaces:
step.core.authentication.Authenticator<step.core.auth.Credentials>
,step.core.GlobalContextAware
public class DefaultAuthenticator extends CredentialsAuthenticator
-
-
Field Summary
-
Fields inherited from class step.core.access.CredentialsAuthenticator
users
-
-
Constructor Summary
Constructors Constructor Description DefaultAuthenticator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description step.core.authentication.AuthenticationResults
authenticate(step.core.auth.Credentials credentials)
void
changePassword(java.lang.String userId, java.lang.String password)
static step.core.access.User
defaultAdminUser()
java.lang.String
encryptPwd(java.lang.String pwd)
boolean
implementOTP()
java.lang.String
resetPassword(java.lang.String userId)
void
setGlobalContext(step.core.GlobalContext context)
boolean
supportPasswordManagement()
-
Methods inherited from class step.core.access.CredentialsAuthenticator
computeAuthenticationResults, useUiLoginMask
-
-
-
-
Method Detail
-
setGlobalContext
public void setGlobalContext(step.core.GlobalContext context)
- Specified by:
setGlobalContext
in interfacestep.core.GlobalContextAware
- Overrides:
setGlobalContext
in classCredentialsAuthenticator
-
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()
-
-