Class AuthenticationManager


  • public class AuthenticationManager
    extends Object
    • 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)