public class CrowdRememberMeAuthentication
extends org.springframework.security.authentication.AbstractAuthenticationToken
Constructor and Description |
---|
CrowdRememberMeAuthentication(Object principal,
Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) |
CrowdRememberMeAuthentication(User principal) |
Modifier and Type | Method and Description |
---|---|
Object |
getCredentials() |
Object |
getPrincipal() |
void |
setAuthenticated(boolean isAuthenticated)
Disallow setAuthenticated(true).
|
equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setDetails, toString
public CrowdRememberMeAuthentication(User principal)
public CrowdRememberMeAuthentication(Object principal, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
public Object getCredentials()
public Object getPrincipal()
public void setAuthenticated(boolean isAuthenticated) throws IllegalArgumentException
Use constructor containing GrantedAuthority[]s instead.
setAuthenticated
in interface org.springframework.security.core.Authentication
setAuthenticated
in class org.springframework.security.authentication.AbstractAuthenticationToken
isAuthenticated
- must be false
.IllegalArgumentException
- throwd if isAuthenticated paramater is set to true
.Copyright © 2021 Atlassian. All rights reserved.