Class AuthenticationManager


  • public class AuthenticationManager
    extends java.lang.Object
    • Field Detail

      • SESSION_TOKEN_RESPONSE

        public static final java.lang.String SESSION_TOKEN_RESPONSE
        See Also:
        Constant Field Values
    • Constructor Detail

      • AuthenticationManager

        public AuthenticationManager​(AccessTokenManager accessTokenManager,
                                     AccessTokenValidator accessTokenValidator,
                                     step.core.authentication.Authenticator authenticator,
                                     ApiTokenAuthenticator apiTokenAuthenticator,
                                     step.core.access.UserAccessor userAccessor,
                                     boolean authAsUserMgr,
                                     boolean authAsRoleMgr,
                                     boolean authAsProjectMembershipMgr,
                                     java.lang.String defaultRole)
    • Method Detail

      • implementOTP

        public boolean implementOTP()
      • getAuthenticatorName

        public java.lang.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)
      • authenticateByApiToken

        public boolean authenticateByApiToken​(step.framework.server.Session session,
                                              step.core.auth.ApiTokenCredentials 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 java.lang.String resetPwd​(step.core.access.User user)
      • changePassword

        public step.core.access.User changePassword​(step.core.access.User user,
                                                    java.lang.String password)