Class AnonymousAuthenticationToken
- java.lang.Object
-
- org.acegisecurity.providers.anonymous.AnonymousAuthenticationToken
-
- All Implemented Interfaces:
Serializable,Principal,Authentication
@Deprecated public class AnonymousAuthenticationToken extends Object implements Authentication, Serializable
Deprecated.useAnonymousAuthenticationToken- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AnonymousAuthenticationToken(String key, Object principal, GrantedAuthority[] authorities)Deprecated.AnonymousAuthenticationToken(org.springframework.security.authentication.AnonymousAuthenticationToken delegate)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)Deprecated.GrantedAuthority[]getAuthorities()Deprecated.ObjectgetCredentials()Deprecated.ObjectgetDetails()Deprecated.StringgetName()Deprecated.ObjectgetPrincipal()Deprecated.inthashCode()Deprecated.booleanisAuthenticated()Deprecated.voidsetAuthenticated(boolean isAuthenticated)Deprecated.voidsetDetails(Object details)Deprecated.org.springframework.security.core.AuthenticationtoSpring()Deprecated.StringtoString()Deprecated.
-
-
-
Constructor Detail
-
AnonymousAuthenticationToken
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public AnonymousAuthenticationToken(org.springframework.security.authentication.AnonymousAuthenticationToken delegate)
Deprecated.
-
AnonymousAuthenticationToken
public AnonymousAuthenticationToken(String key, Object principal, GrantedAuthority[] authorities)
Deprecated.
-
-
Method Detail
-
getAuthorities
public GrantedAuthority[] getAuthorities()
Deprecated.- Specified by:
getAuthoritiesin interfaceAuthentication
-
getCredentials
public Object getCredentials()
Deprecated.- Specified by:
getCredentialsin interfaceAuthentication
-
getDetails
public Object getDetails()
Deprecated.- Specified by:
getDetailsin interfaceAuthentication
-
setDetails
public void setDetails(Object details)
Deprecated.
-
getPrincipal
public Object getPrincipal()
Deprecated.- Specified by:
getPrincipalin interfaceAuthentication
-
isAuthenticated
public boolean isAuthenticated()
Deprecated.- Specified by:
isAuthenticatedin interfaceAuthentication
-
setAuthenticated
public void setAuthenticated(boolean isAuthenticated) throws IllegalArgumentExceptionDeprecated.- Specified by:
setAuthenticatedin interfaceAuthentication- Throws:
IllegalArgumentException
-
equals
public boolean equals(Object o)
Deprecated.
-
hashCode
public int hashCode()
Deprecated.
-
toString
public String toString()
Deprecated.
-
toSpring
public org.springframework.security.core.Authentication toSpring()
Deprecated.- Specified by:
toSpringin interfaceAuthentication
-
-