Uses of Class
com.atlassian.crowd.exception.InvalidTokenException
Package
Description
-
Uses of InvalidTokenException in com.atlassian.crowd.exception
Modifier and TypeClassDescriptionclass
Thrown to indicate that the token has expired and is not valid anymore.class
Thrown to indicate that the token does not exist in the server. -
Uses of InvalidTokenException in com.atlassian.crowd.integration.http
Modifier and TypeMethodDescriptionCacheAwareCrowdHttpAuthenticator.authenticate
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String username, String password) CrowdHttpAuthenticator.authenticate
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String username, String password) Authenticates the user based on provided credentials.CrowdHttpAuthenticatorImpl.authenticate
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String username, String password) CacheAwareCrowdHttpAuthenticator.authenticateWithoutValidatingPassword
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String username) CrowdHttpAuthenticator.authenticateWithoutValidatingPassword
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String username) Authenticates the user without validating password.CrowdHttpAuthenticatorImpl.authenticateWithoutValidatingPassword
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String username) CacheAwareCrowdHttpAuthenticator.getUser
(javax.servlet.http.HttpServletRequest request) CrowdHttpAuthenticator.getUser
(javax.servlet.http.HttpServletRequest request) Attempts to retrieve the currently authenticated User from the request.CrowdHttpAuthenticatorImpl.getUser
(javax.servlet.http.HttpServletRequest request) -
Uses of InvalidTokenException in com.atlassian.crowd.integration.rest.service
Modifier and TypeMethodDescriptionRestCrowdClient.findUserFromSSOToken
(String token) void
RestCrowdClient.validateSSOAuthentication
(String token, List<ValidationFactor> validationFactors) RestCrowdClient.validateSSOAuthenticationAndGetSession
(String token, List<ValidationFactor> validationFactors) -
Uses of InvalidTokenException in com.atlassian.crowd.manager.authentication
Modifier and TypeMethodDescriptionAliasingAwareTokenAuthenticationManager.findUserByToken
(Token token, Application application) DelegatingTokenAuthenticationManager.findUserByToken
(Token token, Application application) TokenAuthenticationManager.findUserByToken
(Token token, Application application) Will find a user via the passed in token.TokenAuthenticationManagerImpl.findUserByToken
(Token token, Application application) AliasingAwareTokenAuthenticationManager.findUserTokenByKey
(String tokenKey, Application application) DelegatingTokenAuthenticationManager.findUserTokenByKey
(String tokenKey, Application application) TokenAuthenticationManager.findUserTokenByKey
(String tokenKey, Application application) Returns the token matching a given keyTokenAuthenticationManagerImpl.findUserTokenByKey
(String tokenKey, Application application) TokenAuthenticationManagerImpl.generateUserToken
(long directoryID, AuthenticationContext authenticationContext, TokenLifetime tokenLifetime) This method will return aToken
based on the passed in parameters.TokenAuthenticationManagerImpl.genericValidateToken
(String token, ValidationFactor[] validationFactors) Will validate a token key with the givenValidationFactor
's against one (if it exists) in the datastore.AliasingAwareTokenAuthenticationManager.validateApplicationToken
(String tokenKey, ValidationFactor[] validationFactors) DelegatingTokenAuthenticationManager.validateApplicationToken
(String tokenKey, ValidationFactor[] validationFactors) TokenAuthenticationManager.validateApplicationToken
(String tokenKey, ValidationFactor[] validationFactors) Validates an application token key given validation factors.TokenAuthenticationManagerImpl.validateApplicationToken
(String tokenKey, ValidationFactor[] clientValidationFactors) AliasingAwareTokenAuthenticationManager.validateUserToken
(Application application, String userTokenKey, ValidationFactor[] validationFactors) DelegatingTokenAuthenticationManager.validateUserToken
(Application application, String userTokenKey, ValidationFactor[] validationFactors) TokenAuthenticationManager.validateUserToken
(Application application, String userTokenKey, ValidationFactor[] validationFactors) Validates a user token key given validation factors and checks that the user is allowed to authenticate with the specified applicationTokenAuthenticationManagerImpl.validateUserToken
(Application application, String userTokenKey, ValidationFactor[] validationFactors) -
Uses of InvalidTokenException 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) TokenFactory.createValidationHash
(long directoryID, String name, List<ValidationFactor> validationFactors, long secretNumber) Generates random hash based on the supplied parameters.TokenFactoryImpl.createValidationHash
(long directoryID, String name, List<ValidationFactor> validationFactors, long secretNumber) TokenKeyGenerator.generateIdentifierHash
(long directoryID, String name, List<ValidationFactor> validationFactors) Creates a String that will be used by aToken
as itsToken.identifierHash
.TokenKeyGeneratorImpl.generateIdentifierHash
(long directoryID, String name, List<ValidationFactor> validationFactors) TokenKeyGenerator.generateRandomHash
(long directoryID, String name, List<ValidationFactor> validationFactors) Creates a String that will be used by aToken
as itsToken.randomHash
.TokenKeyGeneratorImpl.generateRandomHash
(long directoryID, String name, List<ValidationFactor> validationFactors) -
Uses of InvalidTokenException in com.atlassian.crowd.plugin.rest.exception.mapper
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
InvalidTokenExceptionMapper.toResponse
(InvalidTokenException exception) -
Uses of InvalidTokenException in com.atlassian.crowd.plugin.rest.service.controller
Modifier and TypeMethodDescriptionTokenController.getSessionFromToken
(String tokenKey, URI baseUri) Returns the session associated with the Crowd SSO token.TokenController.validateToken
(String token, Collection<ValidationFactorEntity> validationFactorEntities, URI baseUri) Validates a Crowd SSO token and creates a new token with an updated last accessed date (for the internal token representation). -
Uses of InvalidTokenException in com.atlassian.crowd.plugin.rest.service.resource.usermanagement
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
TokenResource.getSession
(String token) javax.ws.rs.core.Response
TokenResource.validateToken
(String token, ValidationFactorEntityList validationFactors) -
Uses of InvalidTokenException in com.atlassian.crowd.service.client
Modifier and TypeMethodDescriptionCrowdClient.findUserFromSSOToken
(String token) Returns the user from the specified user token.void
CrowdClient.validateSSOAuthentication
(String token, List<ValidationFactor> validationFactors) Validates the SSO authentication.CrowdClient.validateSSOAuthenticationAndGetSession
(String token, List<ValidationFactor> validationFactors) Validates the SSO authentication.