public interface SwitchableTokenManager extends TokenManager
TokenManager
to allow switching between two TokenDAO delegates (in-memory and database).Modifier and Type | Method and Description |
---|---|
boolean |
isUsingDatabaseStorage() |
void |
setUsingDatabaseStorage(boolean useDatabaseStorage) |
void |
updateTokenStorage()
Updates the switchable token manager to match the current configuration.
|
add, findByIdentifierHash, findByRandomHash, remove, remove, removeAll, removeAll, removeExcept, removeExpiredTokens, update
boolean isUsingDatabaseStorage()
void setUsingDatabaseStorage(boolean useDatabaseStorage) throws PropertyManagerException
PropertyManagerException
void updateTokenStorage()
setUsingDatabaseStorage(boolean)
),
for instance, after a backup restore.Copyright © 2020 Atlassian. All rights reserved.