java.lang.Object | |
↳ | com.atlassian.confluence.security.login.DefaultLoginManager |
Default LoginManager that keeps track of login activity.
For known users the number of failed login attempts is stored in a user bound PropertySet. For unknown users the DefaultLoginManager tracks the number of login attempts in a cache. It is important to track the number of login attempts for unknown users otherwise the observable behaviour of the application might be different for known and unknown users (See JRA-21016). Every successful login clears the number of failed login attempts for a known user.Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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 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
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.confluence.security.login.LoginManager
|
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 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. |
---|