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.
- See Also:
-
Constructor Summary
ConstructorDescriptionUsernamePasswordAuthenticationToken
(Object principal, Object credentials) Deprecated.UsernamePasswordAuthenticationToken
(Object principal, Object credentials, GrantedAuthority[] authorities) Deprecated.UsernamePasswordAuthenticationToken
(org.springframework.security.authentication.UsernamePasswordAuthenticationToken delegate) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Deprecated.Deprecated.Deprecated.getName()
Deprecated.Deprecated.int
hashCode()
Deprecated.boolean
Deprecated.void
setAuthenticated
(boolean isAuthenticated) Deprecated.void
setDetails
(Object details) Deprecated.org.springframework.security.core.Authentication
toSpring()
Deprecated.toString()
Deprecated.
-
Constructor Details
-
UsernamePasswordAuthenticationToken
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public UsernamePasswordAuthenticationToken(org.springframework.security.authentication.UsernamePasswordAuthenticationToken delegate) Deprecated. -
UsernamePasswordAuthenticationToken
Deprecated. -
UsernamePasswordAuthenticationToken
public UsernamePasswordAuthenticationToken(Object principal, Object credentials, GrantedAuthority[] authorities) Deprecated.
-
-
Method Details
-
getAuthorities
Deprecated.- Specified by:
getAuthorities
in interfaceAuthentication
-
getCredentials
Deprecated.- Specified by:
getCredentials
in interfaceAuthentication
-
getDetails
Deprecated.- Specified by:
getDetails
in interfaceAuthentication
-
setDetails
Deprecated. -
getPrincipal
Deprecated.- Specified by:
getPrincipal
in interfaceAuthentication
-
isAuthenticated
public boolean isAuthenticated()Deprecated.- Specified by:
isAuthenticated
in interfaceAuthentication
-
setAuthenticated
Deprecated.- Specified by:
setAuthenticated
in interfaceAuthentication
- Throws:
IllegalArgumentException
-
getName
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated. -
toSpring
public org.springframework.security.core.Authentication toSpring()Deprecated.- Specified by:
toSpring
in interfaceAuthentication
-
UsernamePasswordAuthenticationToken