|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.user.LoginInformationManagerImpl
public class LoginInformationManagerImpl
Field Summary |
---|
Fields inherited from interface com.atlassian.bamboo.user.LoginInformationManager |
---|
BEAN_ID |
Constructor Summary | |
---|---|
LoginInformationManagerImpl(LoginInformationDao loginInformationDao,
AdministrationConfigurationManager administrationConfigurationManager)
|
Method Summary | |
---|---|
java.util.Iterator<LoginInformation> |
getAllLoginInformationRecords()
For use during the export to XML. |
int |
getFailedLoginAttemptsCount(java.lang.String userName)
Get number of failed login attempts for user |
boolean |
incrementFailedCountAndCheckThreshold(java.lang.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(java.lang.String userName)
Returns true when CAPTCHA is required for this user. |
void |
resetFailedLoginAttemptsCount(java.lang.String userName)
Reset number of failed login attempts for user. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoginInformationManagerImpl(@NotNull LoginInformationDao loginInformationDao, @NotNull AdministrationConfigurationManager administrationConfigurationManager)
Method Detail |
---|
public boolean isElevatedSecurityCheckRequired(java.lang.String userName)
LoginInformationManager
isElevatedSecurityCheckRequired
in interface LoginInformationManager
public boolean incrementFailedCountAndCheckThreshold(java.lang.String userName)
LoginInformationManager
incrementFailedCountAndCheckThreshold
in interface LoginInformationManager
public int getFailedLoginAttemptsCount(@Nullable java.lang.String userName)
LoginInformationManager
getFailedLoginAttemptsCount
in interface LoginInformationManager
public void resetFailedLoginAttemptsCount(@Nullable java.lang.String userName)
LoginInformationManager
resetFailedLoginAttemptsCount
in interface LoginInformationManager
public java.util.Iterator<LoginInformation> getAllLoginInformationRecords()
LoginInformationManager
Think twice (and change this JavaDoc) before using it for something else.
getAllLoginInformationRecords
in interface LoginInformationManager
LoginInformationMapper.exportData(org.codehaus.staxmate.out.SMOutputElement)
,
LoginInformationHibernateDao.getAllLoginInformationRecords()
public void injectLoginInformation(LoginInformation object)
LoginInformationManager
injectLoginInformation
in interface LoginInformationManager
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, net.sf.hibernate.Session)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |