public interface RememberMeTokenDao
| Modifier and Type | Method and Description |
|---|---|
RememberMeToken |
findById(Long tokenId)
Finds the token with the given id.
|
List<RememberMeToken> |
findForUserName(String userName)
This will return a list of the RememberMeToken that a user currently has.
|
void |
remove(Long tokenId)
Removes the specific token given the id
|
void |
removeAll()
Can be called to remove all tokens for all users.
|
void |
removeAllForUser(String username)
Called to remove ALL tokens that are stored for the specificed user
|
RememberMeToken |
save(RememberMeToken token)
This will be called to save the presented token to the database against the specified user.
|
RememberMeToken findById(Long tokenId)
tokenId - the id of the tokenRememberMeToken save(RememberMeToken token)
token - the token in playList<RememberMeToken> findForUserName(String userName)
This method is not used by the Seraph code per se but its specified as part of the Atlassian RememberMe tech spec.
userName - the username to look up tokens forRememberMeTokens or an EMPTY list if there are nonevoid remove(Long tokenId)
tokenId - the id of the token to removevoid removeAllForUser(String username)
This method is not used by the Seraph code per se but its specified as part of the Atlassian RememberMe tech spec.
username - the username in questionvoid removeAll()
This method is not used by the Seraph code per se but its specified as part of the Atlassian RememberMe tech spec.
Copyright © 2018 Atlassian. All rights reserved.