Uses of Class
com.atlassian.crowd.model.token.TokenLifetime
Package
Description
-
Uses of TokenLifetime in com.atlassian.crowd.manager.authentication
Modifier and TypeMethodDescriptionAliasingAwareTokenAuthenticationManager.authenticateApplication
(Application application, ApplicationAuthenticationContext authenticationContext, TokenLifetime tokenLifetime) DelegatingTokenAuthenticationManager.authenticateApplication
(Application application, ApplicationAuthenticationContext authenticationContext, TokenLifetime tokenLifetime) RetryingTokenAuthenticationManager.authenticateApplication
(Application application, ApplicationAuthenticationContext authenticationContext, TokenLifetime tokenLifetime) TokenAuthenticationManager.authenticateApplication
(Application application, ApplicationAuthenticationContext authenticationContext, TokenLifetime tokenLifetime) Authenticates an application and generates an authentication token.TokenAuthenticationManagerImpl.authenticateApplication
(Application application, ApplicationAuthenticationContext authenticationContext, TokenLifetime tokenLifetime) AliasingAwareTokenAuthenticationManager.authenticateApplicationWithoutValidatingPassword
(Application application, ApplicationAuthenticationContext authenticationContext, TokenLifetime tokenLifetime) DelegatingTokenAuthenticationManager.authenticateApplicationWithoutValidatingPassword
(Application application, ApplicationAuthenticationContext authenticationContext, TokenLifetime tokenLifetime) RetryingTokenAuthenticationManager.authenticateApplicationWithoutValidatingPassword
(Application application, ApplicationAuthenticationContext authenticationContext, TokenLifetime tokenLifetime) TokenAuthenticationManager.authenticateApplicationWithoutValidatingPassword
(Application application, ApplicationAuthenticationContext authenticationContext, TokenLifetime tokenLifetime) Authenticates an application and generates an authentication token, ignoring the credentials.TokenAuthenticationManagerImpl.authenticateApplicationWithoutValidatingPassword
(Application application, ApplicationAuthenticationContext authenticationContext, TokenLifetime tokenLifetime) AliasingAwareTokenAuthenticationManager.authenticateUser
(Application application, UserAuthenticationContext authenticateContext, TokenLifetime tokenLifetime) DelegatingTokenAuthenticationManager.authenticateUser
(Application application, UserAuthenticationContext authenticateContext, TokenLifetime tokenLifetime) RetryingTokenAuthenticationManager.authenticateUser
(Application application, UserAuthenticationContext authenticateContext, TokenLifetime tokenLifetime) TokenAuthenticationManager.authenticateUser
(Application application, UserAuthenticationContext authenticateContext, TokenLifetime tokenLifetime) Authenticates a user and and generates an authentication token.TokenAuthenticationManagerImpl.authenticateUser
(Application application, UserAuthenticationContext authenticationContext, boolean validatePassword, TokenLifetime tokenLifetime) TokenAuthenticationManagerImpl.authenticateUser
(Application application, UserAuthenticationContext authenticateContext, TokenLifetime tokenLifetime) TokenAuthenticationManagerImpl.generateUserToken
(long directoryID, AuthenticationContext authenticationContext, TokenLifetime tokenLifetime) This method will return aToken
based on the passed in parameters. -
Uses of TokenLifetime in com.atlassian.crowd.manager.token.factory
Modifier and TypeMethodDescriptionTokenFactory.create
(long directoryID, String name, TokenLifetime tokenLifetime, List<ValidationFactor> validationFactors) Generates a token key based on the suppliedvalidationFactors
.TokenFactory.create
(long directoryID, String name, TokenLifetime tokenLifetime, List<ValidationFactor> validationFactors, long secretNumber) Generates a token key based on the suppliedvalidationFactors
.TokenFactoryImpl.create
(long directoryID, String name, TokenLifetime tokenLifetime, List<ValidationFactor> validationFactors) TokenFactoryImpl.create
(long directoryID, String name, TokenLifetime tokenLifetime, List<ValidationFactor> validationFactors, long secretNumber) -
Uses of TokenLifetime in com.atlassian.crowd.model.token
Modifier and TypeFieldDescriptionstatic final TokenLifetime
TokenLifetime.USE_DEFAULT
Indicates that the token does not specify a concrete lifetime, and will use the default lifetimeModifier and TypeMethodDescriptionAuthenticationToken.getLifetime()
ImmutableToken.getLifetime()
Token.getLifetime()
Deprecated.static TokenLifetime
TokenLifetime.inSeconds
(long seconds) Builds a new instance that represents a requested lifetime of a given number of seconds -
Uses of TokenLifetime in com.atlassian.crowd.plugin.rest.service.controller
Modifier and TypeMethodDescriptionTokenController.authenticateUser
(String username, String password, TokenLifetime tokenDuration, Collection<ValidationFactorEntity> validationFactorEntities, URI baseUri) Authenticates a user for the given application.