AnonymousAuthenticationToken
@Deprecated public class AnonymousAuthenticationToken extends Object implements Authentication, Serializable
Constructor and Description |
---|
AnonymousAuthenticationToken(org.springframework.security.authentication.AnonymousAuthenticationToken delegate)
Deprecated.
|
AnonymousAuthenticationToken(String key,
Object principal,
GrantedAuthority[] authorities)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Deprecated.
|
GrantedAuthority[] |
getAuthorities()
Deprecated.
|
Object |
getCredentials()
Deprecated.
|
Object |
getDetails()
Deprecated.
|
String |
getName()
Deprecated.
|
Object |
getPrincipal()
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isAuthenticated()
Deprecated.
|
void |
setAuthenticated(boolean isAuthenticated)
Deprecated.
|
void |
setDetails(Object details)
Deprecated.
|
org.springframework.security.core.Authentication |
toSpring()
Deprecated.
|
String |
toString()
Deprecated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
fromSpring
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public AnonymousAuthenticationToken(org.springframework.security.authentication.AnonymousAuthenticationToken delegate)
public AnonymousAuthenticationToken(String key, Object principal, GrantedAuthority[] authorities)
public GrantedAuthority[] getAuthorities()
getAuthorities
in interface Authentication
public Object getCredentials()
getCredentials
in interface Authentication
public Object getDetails()
getDetails
in interface Authentication
public void setDetails(Object details)
public Object getPrincipal()
getPrincipal
in interface Authentication
public boolean isAuthenticated()
isAuthenticated
in interface Authentication
public void setAuthenticated(boolean isAuthenticated) throws IllegalArgumentException
setAuthenticated
in interface Authentication
IllegalArgumentException
public boolean equals(Object o)
public int hashCode()
public String toString()
public org.springframework.security.core.Authentication toSpring()
toSpring
in interface Authentication
Copyright © 2004–2021. All rights reserved.