@groovy.util.logging.Slf4j class RestAuthenticationProvider
Authenticates a request based on the token passed. This is called by RestTokenValidationFilter.
| Type | Name and description |
|---|---|
TokenStorageService |
tokenStorageService |
| Constructor and description |
|---|
RestAuthenticationProvider
() |
| Type | Name and description |
|---|---|
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication authentication)Returns an authentication object based on the token value contained in the authentication parameter. |
boolean |
supports(java.lang.Class<?> authentication) |
| 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() |
Returns an authentication object based on the token value contained in the authentication parameter. To do so, it uses a TokenStorageService.
Groovy Documentation