public override void SetPasswordChangeNoLongerRequired() { if (AuthenticationResultConflict == PASSWORD_CHANGE_REQUIRED) { AuthenticationResultConflict = SUCCESS; outerInstance.accessMode = [email protected]_Static.Full; } }
public BasicLoginContext(User user, AuthenticationResult authenticationResult) { this._authSubject = new BasicAuthSubject(this, user, authenticationResult); switch (authenticationResult) { case AuthenticationResult.SUCCESS: _accessMode = [email protected]_Static.Full; break; case AuthenticationResult.PASSWORD_CHANGE_REQUIRED: _accessMode = [email protected]_Static.CredentialsExpired; break; default: _accessMode = [email protected]_Static.None; break; } }
public ShiroSubject(PrincipalCollection principals, bool authenticated, string host, Session session, bool sessionCreationEnabled, SecurityManager securityManager, AuthenticationResult authenticationResult, ShiroAuthenticationInfo authenticationInfo) : base(principals, authenticated, host, session, sessionCreationEnabled, securityManager) { this._authenticationResult = authenticationResult; this._authenticationInfo = authenticationInfo; }
public ShiroSubject(SecurityManager securityManager, AuthenticationResult authenticationResult) : base(securityManager) { this._authenticationResult = authenticationResult; }
public override void Logout() { User = null; AuthenticationResultConflict = FAILURE; }
internal BasicAuthSubject(BasicLoginContext outerInstance, User user, AuthenticationResult authenticationResult) { this._outerInstance = outerInstance; this.User = user; this.AuthenticationResultConflict = authenticationResult; }