Class JWSAuthentication

  • All Implemented Interfaces:
    java.io.Serializable, java.security.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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      JWSAuthentication​(java.lang.String token)  
      JWSAuthentication​(java.lang.String token, org.springframework.security.core.userdetails.User principal, java.util.Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getCredentials()  
      java.lang.Object getPrincipal()  
      • 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 Detail

      • JWSAuthentication

        public JWSAuthentication​(java.lang.String token)
      • JWSAuthentication

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

      • getCredentials

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

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