public class JWTBearerAuthenticationProvider extends Object implements org.springframework.security.authentication.AuthenticationProvider
| Constructor and Description |
|---|
JWTBearerAuthenticationProvider() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication authentication)
Try to validate the client credentials by parsing and validating the JWT.
|
boolean |
supports(Class<?> authentication)
We support
JWTBearerAssertionAuthenticationTokens only. |
public JWTBearerAuthenticationProvider()
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException
authenticate in interface org.springframework.security.authentication.AuthenticationProviderorg.springframework.security.core.AuthenticationExceptionpublic boolean supports(Class<?> authentication)
JWTBearerAssertionAuthenticationTokens only.supports in interface org.springframework.security.authentication.AuthenticationProviderCopyright © 2018. All rights reserved.