@groovy.util.logging.Slf4j @groovy.transform.CompileStatic class RestAuthenticationProvider extends java.lang.Object
Authenticates a request based on the token passed. This is called by RestTokenValidationFilter.
Type | Name and description |
---|---|
JwtService |
jwtService |
TokenStorageService |
tokenStorageService |
java.lang.Boolean |
useJwt |
Type Params | Return 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.