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
ConstructorsConstructorDescriptionUsernamePasswordAuthenticationToken(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 TypeMethodDescriptionbooleanDeprecated.Deprecated.Deprecated.Deprecated.getName()Deprecated.Deprecated.inthashCode()Deprecated.booleanDeprecated.voidsetAuthenticated(boolean isAuthenticated) Deprecated.voidsetDetails(Object details) Deprecated.org.springframework.security.core.AuthenticationtoSpring()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:
getAuthoritiesin interfaceAuthentication
-
getCredentials
Deprecated.- Specified by:
getCredentialsin interfaceAuthentication
-
getDetails
Deprecated.- Specified by:
getDetailsin interfaceAuthentication
-
setDetails
Deprecated. -
getPrincipal
Deprecated.- Specified by:
getPrincipalin interfaceAuthentication
-
isAuthenticated
public boolean isAuthenticated()Deprecated.- Specified by:
isAuthenticatedin interfaceAuthentication
-
setAuthenticated
Deprecated.- Specified by:
setAuthenticatedin 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:
toSpringin interfaceAuthentication
-
UsernamePasswordAuthenticationToken