com.atlassian.confluence.security.login.LoginManager |
Known Indirect Subclasses |
The LoginManager keeps track of users login activities.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Try to authenticate a user given the
userName and password . | |||||||||||
Return information about a user's login history.
| |||||||||||
Return information about a user's login history.
| |||||||||||
Check if elevated security checks are available/enabled.
| |||||||||||
This is called after an unsuccessful login attempt has been made.
| |||||||||||
This method is deprecated.
since 3.4 use
onFailedLoginAttempt(String, HttpServletRequest) instead
| |||||||||||
This method is deprecated.
since 3.4 use
onSuccessfulLoginAttempt(String, HttpServletRequest) instead
| |||||||||||
This is called after a successful login attempt has been made.
| |||||||||||
This is called to see whether the user requires an extended security check (such as CAPTCHA)
| |||||||||||
This can be called to reset the failed login count of a user
|
Try to authenticate a user given the userName
and password
.
LoginResult
that contains information about this particular authentication attempt.
Calling this method has side effects as the login manager tracks the number of failed and successful login attempts.Return information about a user's login history.
Return information about a user's login history.
Check if elevated security checks are available/enabled.
This is called after an unsuccessful login attempt has been made. It allows the LoginManager to update information about a users login history.
userName | the name of the user in play. This MUST not be null. |
---|---|
servletRequest | the request pertaining to a login attempt. |
This method is deprecated.
since 3.4 use onSuccessfulLoginAttempt(String, HttpServletRequest)
instead
This is called after a successful login attempt has been made. It allows the LoginManager to update information about a users login history.
userName | the name of the user in play. This MUST not be null. |
---|---|
servletRequest | the request pertaining to a login attempt. |
This is called to see whether the user requires an extended security check (such as CAPTCHA)
userName | the name of the user in play. This MUST not be null. |
---|
userName
requires an extended security check
This can be called to reset the failed login count of a user
user | the user for which to reset the failed login count. This MUST not be null. |
---|