public class FlowableTokenAuthenticationProvider extends Object implements AuthenticationProvider
Modifier and Type | Field and Description |
---|---|
protected com.nimbusds.jwt.proc.JWTProcessor<com.nimbusds.jose.proc.SecurityContext> |
jwtProcessor |
protected PersistentTokenService |
persistentTokenService |
Constructor and Description |
---|
FlowableTokenAuthenticationProvider(PersistentTokenService persistentTokenService,
com.nimbusds.jwt.proc.JWTProcessor<com.nimbusds.jose.proc.SecurityContext> jwtProcessor) |
Modifier and Type | Method and Description |
---|---|
Authentication |
authenticate(Authentication authentication) |
boolean |
supports(Class<?> authentication) |
protected final PersistentTokenService persistentTokenService
protected final com.nimbusds.jwt.proc.JWTProcessor<com.nimbusds.jose.proc.SecurityContext> jwtProcessor
public FlowableTokenAuthenticationProvider(PersistentTokenService persistentTokenService, com.nimbusds.jwt.proc.JWTProcessor<com.nimbusds.jose.proc.SecurityContext> jwtProcessor)
public Authentication authenticate(Authentication authentication) throws AuthenticationException
authenticate
in interface AuthenticationProvider
AuthenticationException
public boolean supports(Class<?> authentication)
supports
in interface AuthenticationProvider