Package io.jmix.oidc.jwt
Class JmixJwtAuthenticationToken
java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
io.jmix.oidc.jwt.JmixJwtAuthenticationToken
- All Implemented Interfaces:
- Serializable,- Principal,- org.springframework.security.core.Authentication,- org.springframework.security.core.CredentialsContainer
public class JmixJwtAuthenticationToken
extends org.springframework.security.authentication.AbstractAuthenticationToken
An implementation of an AbstractOAuth2TokenAuthenticationToken representing a Jwt Authentication.
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected JmixOidcUserprotected org.springframework.security.oauth2.jwt.Jwt
- 
Constructor SummaryConstructorsConstructorDescriptionJmixJwtAuthenticationToken(org.springframework.security.oauth2.jwt.Jwt jwt, JmixOidcUser principal, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) Constructs aJmixJwtAuthenticationTokenusing the provided parameters.
- 
Method SummaryMethods inherited from class org.springframework.security.authentication.AbstractAuthenticationTokenequals, eraseCredentials, getAuthorities, getDetails, hashCode, isAuthenticated, setAuthenticated, setDetails, toString
- 
Field Details- 
principal
- 
tokenprotected org.springframework.security.oauth2.jwt.Jwt token
 
- 
- 
Constructor Details- 
JmixJwtAuthenticationTokenpublic JmixJwtAuthenticationToken(org.springframework.security.oauth2.jwt.Jwt jwt, JmixOidcUser principal, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) Constructs aJmixJwtAuthenticationTokenusing the provided parameters.- Parameters:
- jwt- the JWT
- principal- the principal being authenticated
- authorities- the authorities assigned to the JWT
 
 
- 
- 
Method Details