public interface TokenDAO extends SessionTokenStorage, SearchableTokenStorage
Token| Modifier and Type | Method and Description |
|---|---|
Collection<Token> |
loadAll()
Used when switching implementations.
|
void |
saveAll(Collection<Token> tokens)
Used when switching implementations.
|
add, findByIdentifierHash, findByRandomHash, remove, remove, removeAll, removeAll, removeExcept, removeExpiredTokens, updatesearchCollection<Token> loadAll()
org.springframework.dao.DataAccessException - If the tokens could not be retrieved.void saveAll(Collection<Token> tokens)
tokens - all tokens to add.Copyright © 2020 Atlassian. All rights reserved.