public class FromSignedTokenSecurityContextProvider<T,C> extends BasicSecurityContextProvider<C>
SecurityContextProvider based on the use of :
SecurityContextHolder which is based on ThreadLocal
TokenEncoder
TokenVerifier
SecurityCredentialsExtractor
SecurityCredentialsValidator| Constructor and Description |
|---|
FromSignedTokenSecurityContextProvider(TokenEncoder<T> tokenEncoder,
TokenVerifier<T> tokenVerifier,
SecurityCredentialsExtractor<T,C> credentialsExtractor,
SecurityCredentialsValidator<C> credentialsValidator) |
| Modifier and Type | Method and Description |
|---|---|
protected C |
getValidCredentials(String token) |
provideSecurityContextpublic FromSignedTokenSecurityContextProvider(TokenEncoder<T> tokenEncoder, TokenVerifier<T> tokenVerifier, SecurityCredentialsExtractor<T,C> credentialsExtractor, SecurityCredentialsValidator<C> credentialsValidator)
protected C getValidCredentials(String token)
getValidCredentials in class BasicSecurityContextProvider<C>Copyright © 2022. All rights reserved.