public class RecoveryModeAwareTokenAuthenticationManager extends TokenAuthenticationManagerImpl
| Constructor and Description |
|---|
RecoveryModeAwareTokenAuthenticationManager(SessionTokenStorage tokenManager,
ApplicationDAO applicationDao,
TokenFactory tokenFactory,
CacheManager cacheManager,
com.atlassian.event.api.EventPublisher eventPublisher,
PropertyManager propertyManager,
DirectoryManager directoryManager,
ApplicationManager applicationManager,
ApplicationService applicationService,
RecoveryModeService recoveryModeService,
ApplicationFactory applicationFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isAllowedToAuthenticate(String username,
long directoryId,
Application application)
Determines if a user is permitted to attempt authentication with a given application.
|
activeValidationFactors, authenticateApplication, authenticateUser, authenticateUser, authenticateUser, authenticateUserWithoutValidatingPassword, findAuthorisedApplications, findUserByToken, findUserTokenByKey, generateUserToken, genericValidateToken, getTokenExpiryTime, invalidateToken, invalidateTokensForUser, isExpired, removeExpiredTokens, validateApplicationToken, validateUserTokenpublic RecoveryModeAwareTokenAuthenticationManager(SessionTokenStorage tokenManager, ApplicationDAO applicationDao, TokenFactory tokenFactory, CacheManager cacheManager, com.atlassian.event.api.EventPublisher eventPublisher, PropertyManager propertyManager, DirectoryManager directoryManager, ApplicationManager applicationManager, ApplicationService applicationService, RecoveryModeService recoveryModeService, ApplicationFactory applicationFactory)
protected boolean isAllowedToAuthenticate(String username, long directoryId, Application application) throws OperationFailedException, DirectoryNotFoundException
TokenAuthenticationManagerImplisAllowedToAuthenticate in class TokenAuthenticationManagerImplusername - the username of the user that wants to authenticate with the application.directoryId - the directoryId of the user that wants to authenticate with the application.application - application the user wants to authenticate with.true iff the user is permitted to attempt authentication with the application.OperationFailedException - if the directory implementation could not be loaded when performing a membership check.DirectoryNotFoundExceptionCopyright © 2016 Atlassian. All Rights Reserved.