Package at.letto.basespringboot.security
Class JwtAuthenticationProvider
java.lang.Object
at.letto.basespringboot.security.JwtAuthenticationProvider
- All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider
@Component
public class JwtAuthenticationProvider
extends Object
implements org.springframework.security.authentication.AuthenticationProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final JwtTokenService
private static final org.slf4j.Logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authentication
authenticate
(org.springframework.security.core.Authentication authentication) void
boolean
-
Field Details
-
log
private static final org.slf4j.Logger log -
jwtService
-
-
Constructor Details
-
JwtAuthenticationProvider
-
-
Method Details
-
init
-
authenticate
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException - Specified by:
authenticate
in interfaceorg.springframework.security.authentication.AuthenticationProvider
- Throws:
org.springframework.security.core.AuthenticationException
-
supports
- Specified by:
supports
in interfaceorg.springframework.security.authentication.AuthenticationProvider
-