Package step.core.access.authentication
Class AuthenticationManager
- java.lang.Object
-
- step.core.access.authentication.AuthenticationManager
-
public class AuthenticationManager extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AuthenticationManager.AuthenticationManagerListener
-
Constructor Summary
Constructors Constructor Description AuthenticationManager(AccessTokenManager accessTokenManager, AccessTokenValidator accessTokenValidator, step.core.authentication.Authenticator authenticator, step.core.access.UserAccessor userAccessor, boolean authAsUserMgr, boolean authAsRoleMgr, boolean authAsProjectMembershipMgr, String defaultRole)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
authenticate(step.framework.server.Session session, step.core.auth.AbstractCredentials credentials)
step.core.access.User
changePassword(step.core.access.User user, String password)
String
getAuthenticatorName()
boolean
implementOTP()
protected void
logoutSession(step.framework.server.Session session)
boolean
manageProjectMembershipInstep()
boolean
manageUserInStep()
boolean
manageUserRoleInStep()
boolean
registerListener(AuthenticationManager.AuthenticationManagerListener e)
String
resetPwd(step.core.access.User user)
protected void
setUserToSession(step.framework.server.Session session, step.core.authentication.AuthenticationResults authenticationResults)
boolean
supportPasswordManagemnent()
boolean
useUiLoginMask()
-
-
-
Constructor Detail
-
AuthenticationManager
public AuthenticationManager(AccessTokenManager accessTokenManager, AccessTokenValidator accessTokenValidator, step.core.authentication.Authenticator authenticator, step.core.access.UserAccessor userAccessor, boolean authAsUserMgr, boolean authAsRoleMgr, boolean authAsProjectMembershipMgr, String defaultRole)
-
-
Method Detail
-
implementOTP
public boolean implementOTP()
-
getAuthenticatorName
public String getAuthenticatorName()
-
supportPasswordManagemnent
public boolean supportPasswordManagemnent()
-
manageUserInStep
public boolean manageUserInStep()
-
manageUserRoleInStep
public boolean manageUserRoleInStep()
-
manageProjectMembershipInstep
public boolean manageProjectMembershipInstep()
-
useUiLoginMask
public boolean useUiLoginMask()
-
authenticate
public boolean authenticate(step.framework.server.Session session, step.core.auth.AbstractCredentials credentials)
-
setUserToSession
protected void setUserToSession(step.framework.server.Session session, step.core.authentication.AuthenticationResults authenticationResults)
-
logoutSession
protected void logoutSession(step.framework.server.Session session)
-
resetPwd
public String resetPwd(step.core.access.User user)
-
changePassword
public step.core.access.User changePassword(step.core.access.User user, String password)
-
registerListener
public boolean registerListener(AuthenticationManager.AuthenticationManagerListener e)
-
-