Class BearerTokenAuthentication

java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
org.springframework.security.authentication.UsernamePasswordAuthenticationToken
de.adorsys.sts.token.authentication.BearerTokenAuthentication
All Implemented Interfaces:
Serializable, Principal, org.springframework.security.core.Authentication, org.springframework.security.core.CredentialsContainer

public class BearerTokenAuthentication extends org.springframework.security.authentication.UsernamePasswordAuthenticationToken
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    BearerTokenAuthentication(Object principal, Object credentials, String token)
     
    BearerTokenAuthentication(Object principal, Object credentials, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, String token)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

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

    authenticated, eraseCredentials, getCredentials, getPrincipal, setAuthenticated, unauthenticated

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

    equals, getAuthorities, getDetails, getName, hashCode, isAuthenticated, 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

    • BearerTokenAuthentication

      public BearerTokenAuthentication(Object principal, Object credentials, String token)
    • BearerTokenAuthentication

      public BearerTokenAuthentication(Object principal, Object credentials, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, String token)
  • Method Details

    • getToken

      public String getToken()