Implementations of this interface are responsible to load user information from a token storage system, and to store token information into it.
| Type Params | Return Type | Name and description |
|---|---|---|
|
org.springframework.security.core.userdetails.UserDetails |
loadUserByToken(java.lang.String tokenValue)Returns a principal object given the passed token value |
|
void |
removeToken(java.lang.String tokenValue)Removes a token from the storage. |
|
void |
storeToken(java.lang.String tokenValue, org.springframework.security.core.userdetails.UserDetails principal)Stores a token. |
Returns a principal object given the passed token value
Removes a token from the storage.
Stores a token. It receives the principal to store any additional information together with the token, like the username associated.