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, toStringpublic 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.AuthenticationsetAuthenticated in class org.springframework.security.authentication.AbstractAuthenticationTokenisAuthenticated - must be false.IllegalArgumentException - throwd if isAuthenticated paramater is set to true.Copyright © 2023 Atlassian. All rights reserved.