class GormTokenStorageService
GORM implementation for token storage. It will look for tokens on the DB using a domain class that will contain the generated token and the username associated. Once the username is found, it will delegate to the configured org.springframework.security.core.userdetails.UserDetailsService for obtaining authorities information.
Constructor and description |
---|
GormTokenStorageService
() |
Type | Name and description |
---|---|
private java.lang.Object |
findExistingToken(java.lang.String tokenValue) |
org.springframework.security.core.userdetails.UserDetails |
loadUserByToken(java.lang.String tokenValue) |
void |
removeToken(java.lang.String tokenValue) |
void |
storeToken(java.lang.String tokenValue, org.springframework.security.core.userdetails.UserDetails principal) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Dependency injection for the application.
Groovy Documentation