public class JWTAuthenticationProvider extends Object implements AuthenticationProvider
JWTAuthentication
object, returning a fully populated
Authentication
object (including granted authorities) if successful.Constructor and Description |
---|
JWTAuthenticationProvider() |
Modifier and Type | Method and Description |
---|---|
Authentication |
authenticate(Authentication authentication) |
boolean |
supports(Class<?> authentication) |
public Authentication authenticate(Authentication authentication) throws AuthenticationException
authenticate
in interface AuthenticationProvider
AuthenticationException
public boolean supports(Class<?> authentication)
supports
in interface AuthenticationProvider
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.