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(String userId, String password)
static step.core.access.User
defaultAdminUser()
String
encryptPwd(String pwd)
boolean
implementOTP()
String
resetPassword(String userId)
void
setGlobalContext(step.core.GlobalContext context)
void
setRoleFromProvider(step.core.authentication.AuthenticationResults authenticationResults)
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)
-
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()
-
-