Class TokenDAOMemory

java.lang.Object
com.atlassian.crowd.dao.token.TokenDAOMemory
All Implemented Interfaces:
SearchableTokenStorage, SessionTokenStorage, TokenDAO

public class TokenDAOMemory extends Object implements TokenDAO
An in-memory implementation of the TokenDAO. This will use the caching manager. This class is thread-safe.
  • Field Details

    • RANDOM_HASH_CACHE

      public static final String RANDOM_HASH_CACHE
    • IDENTIFIER_HASH_CACHE

      public static final String IDENTIFIER_HASH_CACHE
  • Constructor Details

    • TokenDAOMemory

      public TokenDAOMemory(com.atlassian.cache.CacheFactory cacheManager)
    • TokenDAOMemory

      public TokenDAOMemory(com.atlassian.cache.Cache<String,Token> randomHashCache, com.atlassian.cache.Cache<String,Token> identifierHashCache)
  • Method Details