public interface LoginInformationManager
| Modifier and Type | Method and Description |
|---|---|
Iterator<LoginInformation> |
getAllLoginInformationRecords()
For use during the export to XML.
|
int |
getFailedLoginAttemptsCount(String userName)
Get number of failed login attempts for user
|
boolean |
incrementFailedCountAndCheckThreshold(String userName)
Returns true when CAPTCHA would be required the next time this user authenticates.
|
void |
injectLoginInformation(LoginInformation object)
For use during the import from XML only.
|
boolean |
isElevatedSecurityCheckRequired(String userName)
Returns true when CAPTCHA is required for this user.
|
void |
resetFailedLoginAttemptsCount(String userName)
Reset number of failed login attempts for user.
|
static final String BEAN_ID
boolean isElevatedSecurityCheckRequired(String userName)
userName - boolean incrementFailedCountAndCheckThreshold(@NotNull
String userName)
userName - int getFailedLoginAttemptsCount(@Nullable
String userName)
userName - void resetFailedLoginAttemptsCount(@Nullable
String userName)
userName - Iterator<LoginInformation> getAllLoginInformationRecords()
Think twice (and change this JavaDoc) before using it for something else.
com.atlassian.bamboo.migration.stream.LoginInformationMapper#exportData(org.codehaus.staxmate.out.SMOutputElement),
com.atlassian.bamboo.user.LoginInformationHibernateDao#getAllLoginInformationRecords()void injectLoginInformation(LoginInformation object)
object - Object deserialized from XML - may be changed to something other than LoginInformationImpl.com.atlassian.bamboo.migration.stream.LoginInformationMapper#afterImportListItem(org.codehaus.staxmate.in.SMInputCursor, java.util.List, com.atlassian.bamboo.user.LoginInformation, long, org.hibernate.Session) Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.