Class AbstractMutableAuthoritiesAuthenticationToken

java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
com.wavemaker.runtime.security.AbstractMutableAuthoritiesAuthenticationToken
All Implemented Interfaces:
Serializable, Principal, org.springframework.security.core.Authentication, org.springframework.security.core.CredentialsContainer
Direct Known Subclasses:
WMAuthentication

public abstract class AbstractMutableAuthoritiesAuthenticationToken extends org.springframework.security.authentication.AbstractAuthenticationToken
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractMutableAuthoritiesAuthenticationToken(Collection<org.springframework.security.core.GrantedAuthority> authorities)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Collection<org.springframework.security.core.GrantedAuthority>
     
    int
     
    void
    setAuthorities(Collection<org.springframework.security.core.GrantedAuthority> authorities)
     

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

    eraseCredentials, getDetails, getName, 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

    getCredentials, getPrincipal

    Methods inherited from interface java.security.Principal

    implies
  • Constructor Details

    • AbstractMutableAuthoritiesAuthenticationToken

      public AbstractMutableAuthoritiesAuthenticationToken(Collection<org.springframework.security.core.GrantedAuthority> authorities)
  • Method Details

    • getAuthorities

      public Collection<org.springframework.security.core.GrantedAuthority> getAuthorities()
      Specified by:
      getAuthorities in interface org.springframework.security.core.Authentication
      Overrides:
      getAuthorities in class org.springframework.security.authentication.AbstractAuthenticationToken
    • setAuthorities

      public void setAuthorities(Collection<org.springframework.security.core.GrantedAuthority> authorities)
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in interface Principal
      Overrides:
      equals in class org.springframework.security.authentication.AbstractAuthenticationToken
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface Principal
      Overrides:
      hashCode in class org.springframework.security.authentication.AbstractAuthenticationToken