|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LoginStore
The store for saving user login information
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 |
Method Detail |
---|
LoginInfo getLoginInfo(com.atlassian.crowd.embedded.api.User user)
user
- the user in play. This MUST not be null.
LoginInfo
objectLoginInfo recordLoginAttempt(com.atlassian.crowd.embedded.api.User user, boolean authenticated)
user
- the user in play. This MUST not be null.authenticated
- set to true if they authenticated ok or false otherwise
LoginInfo
objectlong getMaxAuthenticationAttemptsAllowed()
void resetFailedLoginCount(com.atlassian.crowd.embedded.api.User user)
user
- the user to authorise. This MUST not be null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |