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

    Constructors
    Constructor
    Description
    FineractJwtAuthenticationToken(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 Type
    Method
    Description
    org.springframework.security.core.userdetails.UserDetails
     

    Methods inherited from class org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken

    getName, getTokenAttributes

    Methods inherited from class org.springframework.security.oauth2.server.resource.authentication.AbstractOAuth2TokenAuthenticationToken

    getCredentials, getToken

    Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken

    equals, eraseCredentials, getAuthorities, getDetails, hashCode, isAuthenticated, setAuthenticated, setDetails, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.security.Principal

    implies
  • 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:
      getPrincipal in interface org.springframework.security.core.Authentication
      Overrides:
      getPrincipal in class org.springframework.security.oauth2.server.resource.authentication.AbstractOAuth2TokenAuthenticationToken<org.springframework.security.oauth2.jwt.Jwt>