java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
org.activiti.cloud.services.notifications.qraphql.ws.security.JWSAuthentication
All Implemented Interfaces:
Serializable, Principal, org.springframework.security.core.Authentication, org.springframework.security.core.CredentialsContainer

public class JWSAuthentication extends org.springframework.security.authentication.AbstractAuthenticationToken implements org.springframework.security.core.Authentication
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    JWSAuthentication(String token, org.springframework.security.core.userdetails.User principal, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
     
    JWSAuthentication(org.springframework.security.oauth2.server.resource.authentication.BearerTokenAuthenticationToken bearerTokenAuthenticationToken)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     

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

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

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface org.springframework.security.core.Authentication

    getAuthorities, getDetails, isAuthenticated, setAuthenticated

    Methods inherited from interface java.security.Principal

    equals, getName, hashCode, implies, toString
  • Constructor Details

    • JWSAuthentication

      public JWSAuthentication(String token)
    • JWSAuthentication

      public JWSAuthentication(org.springframework.security.oauth2.server.resource.authentication.BearerTokenAuthenticationToken bearerTokenAuthenticationToken)
    • JWSAuthentication

      public JWSAuthentication(String token, org.springframework.security.core.userdetails.User principal, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
  • Method Details

    • getCredentials

      public Object getCredentials()
      Specified by:
      getCredentials in interface org.springframework.security.core.Authentication
    • getPrincipal

      public Object getPrincipal()
      Specified by:
      getPrincipal in interface org.springframework.security.core.Authentication