Uses of Class
com.atlassian.crowd.exception.InvalidTokenException

Packages that use InvalidTokenException
com.atlassian.crowd.acceptance.tests.directory   
com.atlassian.crowd.acceptance.tests.persistence.manager.token   
com.atlassian.crowd.exception   
com.atlassian.crowd.integration.http   
com.atlassian.crowd.manager.authentication   
com.atlassian.crowd.manager.token.factory   
com.atlassian.crowd.plugin.rest.exception.mapper   
com.atlassian.crowd.plugin.rest.service.controller   
com.atlassian.crowd.plugin.rest.service.resources   
com.atlassian.crowd.service   
com.atlassian.crowd.service.cache   
com.atlassian.crowd.service.soap.client   
com.atlassian.crowd.util   
 

Uses of InvalidTokenException in com.atlassian.crowd.acceptance.tests.directory
 

Methods in com.atlassian.crowd.acceptance.tests.directory that throw InvalidTokenException
 User MockDirectoryManager.findUserByToken(java.lang.String key)
           
 

Uses of InvalidTokenException in com.atlassian.crowd.acceptance.tests.persistence.manager.token
 

Methods in com.atlassian.crowd.acceptance.tests.persistence.manager.token that throw InvalidTokenException
 void TokenManagerImplTest.testAdd()
           
 void TokenManagerImplTest.testSwitchAfterAdd()
           
 void TokenManagerImplTest.testSwitchToHibernateVolumeTest()
          Makes sure that we can complete test in a 'reasonable' amount of time.
 void TokenManagerImplTest.testSwitchToMemoryVolumeTest()
          Makes sure that we can complete test in a 'reasonable' amount of time.
 

Uses of InvalidTokenException in com.atlassian.crowd.exception
 

Subclasses of InvalidTokenException in com.atlassian.crowd.exception
 class TokenExpiredException
          Used when the token has expired and is not valid anymore.
 class TokenNotFoundException
          Used when the token does not exist in the server.
 

Uses of InvalidTokenException in com.atlassian.crowd.integration.http
 

Methods in com.atlassian.crowd.integration.http that throw InvalidTokenException
 SOAPPrincipal HttpAuthenticatorImpl.getPrincipal(javax.servlet.http.HttpServletRequest request)
          Attempts to retrieve the principal from the request.
 SOAPPrincipal HttpAuthenticator.getPrincipal(javax.servlet.http.HttpServletRequest request)
          Attempts to retrive the principal from the request.
 java.lang.String HttpAuthenticatorImpl.getToken(javax.servlet.http.HttpServletRequest request)
          Retrieve the Crowd authentication token from the request either via:

a request attribute (not request parameter), OR a cookie on the request

 java.lang.String HttpAuthenticator.getToken(javax.servlet.http.HttpServletRequest request)
          Retrieve the Crowd authentication token from the request either via: a request attribute (not request parameter), OR a cookie on the request
 

Uses of InvalidTokenException in com.atlassian.crowd.manager.authentication
 

Methods in com.atlassian.crowd.manager.authentication that throw InvalidTokenException
 User TokenAuthenticationManagerImpl.findUserByToken(java.lang.String key, java.lang.String applicationName)
           
 User TokenAuthenticationManager.findUserByToken(java.lang.String key, java.lang.String applicationName)
          Will find a user via the passed in token key.
 User AliasingAwareTokenAuthenticationManager.findUserByToken(java.lang.String key, java.lang.String applicationName)
           
protected  Token TokenAuthenticationManagerImpl.generateApplicationToken(ApplicationAuthenticationContext authenticationContext)
           
protected  Token TokenAuthenticationManagerImpl.generateUserToken(long directoryID, AuthenticationContext authenticationContext)
          This method will return a Token based on the passed in parameters.
protected  Token TokenAuthenticationManagerImpl.genericValidateToken(java.lang.String token, ValidationFactor[] validationFactors)
          Will validate a token key with the given ValidationFactor's against one (if it exists) in the datastore.
 Token TokenAuthenticationManagerImpl.validateApplicationToken(java.lang.String tokenKey, ValidationFactor[] clientValidationFactors)
           
 Token TokenAuthenticationManager.validateApplicationToken(java.lang.String tokenKey, ValidationFactor[] validationFactors)
          Validates an application token key given validation factors.
 Token AliasingAwareTokenAuthenticationManager.validateApplicationToken(java.lang.String tokenKey, ValidationFactor[] validationFactors)
           
 Token TokenAuthenticationManagerImpl.validateUserToken(java.lang.String userTokenKey, ValidationFactor[] validationFactors, java.lang.String applicationName)
           
 Token TokenAuthenticationManager.validateUserToken(java.lang.String userTokenKey, ValidationFactor[] validationFactors, java.lang.String application)
          Validates a user token key given validation factors and checks that the user is allowed to authenticate with the specified application
 Token AliasingAwareTokenAuthenticationManager.validateUserToken(java.lang.String userTokenKey, ValidationFactor[] validationFactors, java.lang.String application)
           
 

Uses of InvalidTokenException in com.atlassian.crowd.manager.token.factory
 

Methods in com.atlassian.crowd.manager.token.factory that throw InvalidTokenException
 Token TokenFactoryImpl.create(long directoryID, java.lang.String name, java.util.List<ValidationFactor> validationFactors)
           
 Token TokenFactory.create(long directoryID, java.lang.String name, java.util.List<ValidationFactor> validationFactors)
          Generates a token key based on the supplied validationFactors.
 Token TokenFactoryImpl.create(long directoryID, java.lang.String name, java.util.List<ValidationFactor> validationFactors, long secretNumber)
           
 Token TokenFactory.create(long directoryID, java.lang.String name, java.util.List<ValidationFactor> validationFactors, long secretNumber)
          Generates a token key based on the supplied validationFactors.
 java.lang.String TokenKeyGeneratorImpl.generateKey(long directoryID, java.lang.String name, java.util.List<ValidationFactor> validationFactors)
           
 java.lang.String TokenKeyGenerator.generateKey(long directoryID, java.lang.String name, java.util.List<ValidationFactor> validationFactors)
          Creates a String that will be used by a Token as its key.
 

Uses of InvalidTokenException in com.atlassian.crowd.plugin.rest.exception.mapper
 

Methods in com.atlassian.crowd.plugin.rest.exception.mapper with parameters of type InvalidTokenException
 javax.ws.rs.core.Response InvalidTokenExceptionMapper.toResponse(InvalidTokenException exception)
           
 

Uses of InvalidTokenException in com.atlassian.crowd.plugin.rest.service.controller
 

Methods in com.atlassian.crowd.plugin.rest.service.controller that throw InvalidTokenException
 UserEntity TokenController.getUserFromToken(java.lang.String token, java.lang.String applicationName, java.net.URI baseUri)
          Returns the user associated with the Crowd SSO token.
 SessionEntity TokenController.validateToken(java.lang.String applicationName, java.lang.String token, java.util.Collection<ValidationFactorEntity> validationFactorEntities, java.net.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.resources
 

Methods in com.atlassian.crowd.plugin.rest.service.resources that throw InvalidTokenException
 javax.ws.rs.core.Response TokenResource.getSession(java.lang.String token)
          Retrieves the token.
 javax.ws.rs.core.Response TokenResource.validateToken(java.lang.String token, ValidationFactorEntityList validationFactors)
          Validates a Crowd SSO token.
 

Uses of InvalidTokenException in com.atlassian.crowd.service
 

Methods in com.atlassian.crowd.service that throw InvalidTokenException
 SOAPPrincipal UserManager.getUserFromToken(java.lang.String token)
          Given an authentication token, retrieves the user associated with it.
 

Uses of InvalidTokenException in com.atlassian.crowd.service.cache
 

Methods in com.atlassian.crowd.service.cache that throw InvalidTokenException
 SOAPPrincipal CachingUserManager.getUserFromToken(java.lang.String token)
          Note: the lookup is not currently cached - it will always hit the server.
 

Uses of InvalidTokenException in com.atlassian.crowd.service.soap.client
 

Methods in com.atlassian.crowd.service.soap.client that throw InvalidTokenException
 SOAPPrincipal SecurityServerClientImpl.findPrincipalByToken(java.lang.String key)
          Finds a principal by token.
 SOAPPrincipal SecurityServerClient.findPrincipalByToken(java.lang.String key)
          Finds a principal by token.
 

Uses of InvalidTokenException in com.atlassian.crowd.util
 

Methods in com.atlassian.crowd.util with parameters of type InvalidTokenException
static void SoapExceptionTranslator.throwSoapEquivalentCheckedException(InvalidTokenException e)
           
 

Methods in com.atlassian.crowd.util that throw InvalidTokenException
static void SoapExceptionTranslator.throwEquivalentCheckedException(InvalidTokenException e)
           
 



Copyright © 2010 Atlassian. All Rights Reserved.