Package org.acegisecurity.providers
Class UsernamePasswordAuthenticationToken
- java.lang.Object
-
- org.acegisecurity.providers.UsernamePasswordAuthenticationToken
-
- All Implemented Interfaces:
Serializable
,Principal
,Authentication
@Deprecated public class UsernamePasswordAuthenticationToken extends Object implements Authentication
Deprecated.useUsernamePasswordAuthenticationToken
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UsernamePasswordAuthenticationToken(Object principal, Object credentials)
Deprecated.UsernamePasswordAuthenticationToken(Object principal, Object credentials, GrantedAuthority[] authorities)
Deprecated.UsernamePasswordAuthenticationToken(org.springframework.security.authentication.UsernamePasswordAuthenticationToken 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
-
UsernamePasswordAuthenticationToken
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public UsernamePasswordAuthenticationToken(org.springframework.security.authentication.UsernamePasswordAuthenticationToken delegate)
Deprecated.
-
UsernamePasswordAuthenticationToken
public UsernamePasswordAuthenticationToken(Object principal, Object credentials)
Deprecated.
-
UsernamePasswordAuthenticationToken
public UsernamePasswordAuthenticationToken(Object principal, Object credentials, 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
-
-