Package at.letto.basespringboot.security
Class JwtAuthenticatedProfile
java.lang.Object
at.letto.basespringboot.security.JwtAuthenticatedProfile
- All Implemented Interfaces:
Serializable,Principal,org.springframework.security.core.Authentication
public class JwtAuthenticatedProfile
extends Object
implements org.springframework.security.core.Authentication
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends org.springframework.security.core.GrantedAuthority> getName()booleanvoidsetAuthenticated(boolean isAuthenticated)
-
Field Details
-
username
-
-
Constructor Details
-
JwtAuthenticatedProfile
-
-
Method Details
-
getAuthorities
- Specified by:
getAuthoritiesin interfaceorg.springframework.security.core.Authentication
-
getCredentials
- Specified by:
getCredentialsin interfaceorg.springframework.security.core.Authentication
-
getDetails
- Specified by:
getDetailsin interfaceorg.springframework.security.core.Authentication
-
getPrincipal
- Specified by:
getPrincipalin interfaceorg.springframework.security.core.Authentication
-
isAuthenticated
public boolean isAuthenticated()- Specified by:
isAuthenticatedin interfaceorg.springframework.security.core.Authentication
-
setAuthenticated
- Specified by:
setAuthenticatedin interfaceorg.springframework.security.core.Authentication- Throws:
IllegalArgumentException
-
getName
-