UsernamePasswordAuthenticationToken
@Deprecated public class UsernamePasswordAuthenticationToken extends Object implements Authentication
Constructor and Description |
---|
UsernamePasswordAuthenticationToken(Object principal,
Object credentials)
Deprecated.
|
UsernamePasswordAuthenticationToken(Object principal,
Object credentials,
GrantedAuthority[] authorities)
Deprecated.
|
UsernamePasswordAuthenticationToken(org.springframework.security.authentication.UsernamePasswordAuthenticationToken delegate)
Deprecated.
|
Modifier and Type | Method and 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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
fromSpring
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public UsernamePasswordAuthenticationToken(org.springframework.security.authentication.UsernamePasswordAuthenticationToken delegate)
public UsernamePasswordAuthenticationToken(Object principal, Object credentials)
public UsernamePasswordAuthenticationToken(Object principal, Object credentials, GrantedAuthority[] authorities)
public GrantedAuthority[] getAuthorities()
getAuthorities
in interface Authentication
public Object getCredentials()
getCredentials
in interface Authentication
public Object getDetails()
getDetails
in interface Authentication
public void setDetails(Object details)
public Object getPrincipal()
getPrincipal
in interface Authentication
public boolean isAuthenticated()
isAuthenticated
in interface Authentication
public void setAuthenticated(boolean isAuthenticated) throws IllegalArgumentException
setAuthenticated
in interface Authentication
IllegalArgumentException
public boolean equals(Object o)
public int hashCode()
public String toString()
public org.springframework.security.core.Authentication toSpring()
toSpring
in interface Authentication
Copyright © 2004–2021. All rights reserved.