public class JwtAuthenticationProvider<U extends AbstractUser<U,ID>,ID extends java.io.Serializable>
extends java.lang.Object
implements org.springframework.security.authentication.AuthenticationProvider
| Constructor and Description |
|---|
JwtAuthenticationProvider(JwtService jwtService,
LemonUserDetailsService<U,ID> userDetailsService) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication auth) |
boolean |
supports(java.lang.Class<?> authentication) |
public JwtAuthenticationProvider(JwtService jwtService, LemonUserDetailsService<U,ID> userDetailsService)
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication auth)
authenticate in interface org.springframework.security.authentication.AuthenticationProviderpublic boolean supports(java.lang.Class<?> authentication)
supports in interface org.springframework.security.authentication.AuthenticationProvider