Package org.skr.security
Class JwtAuthenticationToken
java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
org.skr.security.JwtAuthenticationToken
- All Implemented Interfaces:
Serializable,Principal,org.springframework.security.core.Authentication,org.springframework.security.core.CredentialsContainer
public class JwtAuthenticationToken
extends org.springframework.security.authentication.AbstractAuthenticationToken
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.security.core.Authenticationauthenticate(String accessToken, SkrSecurityProperties properties) static org.springframework.security.core.AuthenticationgetAuthentication(String accessToken, SkrSecurityProperties properties) getName()Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, eraseCredentials, getAuthorities, getDetails, hashCode, isAuthenticated, setAuthenticated, setDetails, toString
-
Constructor Details
-
JwtAuthenticationToken
-
-
Method Details
-
getCredentials
-
getPrincipal
-
getName
-
authenticate
public static org.springframework.security.core.Authentication authenticate(String accessToken, SkrSecurityProperties properties) -
getAuthentication
public static org.springframework.security.core.Authentication getAuthentication(String accessToken, SkrSecurityProperties properties)
-