Class FineractJwtAuthenticationToken
java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
org.springframework.security.oauth2.server.resource.authentication.AbstractOAuth2TokenAuthenticationToken<org.springframework.security.oauth2.jwt.Jwt>
org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken
org.apache.fineract.infrastructure.security.data.FineractJwtAuthenticationToken
- All Implemented Interfaces:
Serializable,Principal,org.springframework.security.core.Authentication,org.springframework.security.core.CredentialsContainer
public class FineractJwtAuthenticationToken
extends org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFineractJwtAuthenticationToken(org.springframework.security.oauth2.jwt.Jwt jwt, Collection<org.springframework.security.core.GrantedAuthority> authorities, org.springframework.security.core.userdetails.UserDetails user) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.userdetails.UserDetailsMethods inherited from class org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken
getName, getTokenAttributesMethods inherited from class org.springframework.security.oauth2.server.resource.authentication.AbstractOAuth2TokenAuthenticationToken
getCredentials, getTokenMethods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, eraseCredentials, getAuthorities, getDetails, hashCode, isAuthenticated, setAuthenticated, setDetails, toString
-
Constructor Details
-
FineractJwtAuthenticationToken
public FineractJwtAuthenticationToken(org.springframework.security.oauth2.jwt.Jwt jwt, Collection<org.springframework.security.core.GrantedAuthority> authorities, org.springframework.security.core.userdetails.UserDetails user)
-
-
Method Details
-
getPrincipal
public org.springframework.security.core.userdetails.UserDetails getPrincipal()- Specified by:
getPrincipalin interfaceorg.springframework.security.core.Authentication- Overrides:
getPrincipalin classorg.springframework.security.oauth2.server.resource.authentication.AbstractOAuth2TokenAuthenticationToken<org.springframework.security.oauth2.jwt.Jwt>
-