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 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.
-
-
-
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:
getAuthorities
in interfaceAuthentication
-
getCredentials
public Object getCredentials()
Deprecated.- Specified by:
getCredentials
in interfaceAuthentication
-
getDetails
public Object getDetails()
Deprecated.- Specified by:
getDetails
in interfaceAuthentication
-
setDetails
public void setDetails(Object details)
Deprecated.
-
getPrincipal
public Object getPrincipal()
Deprecated.- Specified by:
getPrincipal
in interfaceAuthentication
-
isAuthenticated
public boolean isAuthenticated()
Deprecated.- Specified by:
isAuthenticated
in interfaceAuthentication
-
setAuthenticated
public void setAuthenticated(boolean isAuthenticated) throws IllegalArgumentException
Deprecated.- Specified by:
setAuthenticated
in 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:
toSpring
in interfaceAuthentication
-
-