Package io.jmix.core.security
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 Summary
ConstructorDescriptionSystemAuthenticationToken
(Object principal) SystemAuthenticationToken
(Object principal, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setAuthenticated
(boolean isAuthenticated) void
setCredentials
(String credentials) Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setDetails, toString
-
Constructor Details
-
SystemAuthenticationToken
public SystemAuthenticationToken() -
SystemAuthenticationToken
-
SystemAuthenticationToken
public SystemAuthenticationToken(Object principal, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
-
-
Method Details
-
getCredentials
-
setCredentials
-
getPrincipal
-
setAuthenticated
- Specified by:
setAuthenticated
in interfaceorg.springframework.security.core.Authentication
- Overrides:
setAuthenticated
in classorg.springframework.security.authentication.AbstractAuthenticationToken
- Throws:
IllegalArgumentException
-