Class SystemAuthenticationToken

java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
io.jmix.core.security.SystemAuthenticationToken
All Implemented Interfaces:
Serializable, Principal, org.springframework.security.core.Authentication, org.springframework.security.core.CredentialsContainer
Direct Known Subclasses:
SystemAuthenticatorSupport.NullAuthentication

public class SystemAuthenticationToken extends org.springframework.security.authentication.AbstractAuthenticationToken
See Also:
  • Constructor Details

    • SystemAuthenticationToken

      public SystemAuthenticationToken()
    • SystemAuthenticationToken

      public SystemAuthenticationToken(@Nullable Object principal)
    • SystemAuthenticationToken

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

    • getCredentials

      public String getCredentials()
    • setCredentials

      public void setCredentials(String credentials)
    • getPrincipal

      public Object getPrincipal()
    • setAuthenticated

      public void setAuthenticated(boolean isAuthenticated) throws IllegalArgumentException
      Specified by:
      setAuthenticated in interface org.springframework.security.core.Authentication
      Overrides:
      setAuthenticated in class org.springframework.security.authentication.AbstractAuthenticationToken
      Throws:
      IllegalArgumentException