|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.security.login.LoginStoreImpl
public class LoginStoreImpl
Constructor Summary | |
---|---|
LoginStoreImpl(ApplicationProperties applicationProperties)
|
Method Summary | |
---|---|
LoginInfo |
getLoginInfo(com.atlassian.crowd.embedded.api.User user)
Called to get the login information about a user |
long |
getMaxAuthenticationAttemptsAllowed()
This returns the maximum failed authentications attempts that the user can perform after which they will be asked for extra elevated security information |
LoginInfo |
recordLoginAttempt(com.atlassian.crowd.embedded.api.User user,
boolean authenticated)
This will record that fact the user authenticated or not |
void |
resetFailedLoginCount(com.atlassian.crowd.embedded.api.User user)
This can be called to reset the failed login count of a user |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoginStoreImpl(ApplicationProperties applicationProperties)
Method Detail |
---|
public LoginInfo recordLoginAttempt(com.atlassian.crowd.embedded.api.User user, boolean authenticated)
LoginStore
recordLoginAttempt
in interface LoginStore
user
- the user in play. This MUST not be null.authenticated
- set to true if they authenticated ok or false otherwise
LoginInfo
objectpublic long getMaxAuthenticationAttemptsAllowed()
LoginStore
getMaxAuthenticationAttemptsAllowed
in interface LoginStore
public void resetFailedLoginCount(com.atlassian.crowd.embedded.api.User user)
LoginStore
resetFailedLoginCount
in interface LoginStore
user
- the user to authorise. This MUST not be null.public LoginInfo getLoginInfo(com.atlassian.crowd.embedded.api.User user)
LoginStore
getLoginInfo
in interface LoginStore
user
- the user in play. This MUST not be null.
LoginInfo
object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |