|
Spring Security Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.security.providers.AbstractAuthenticationToken org.springframework.security.providers.rememberme.RememberMeAuthenticationToken
public class RememberMeAuthenticationToken
Represents a remembered Authentication
.
A remembered Authentication
must provide a
fully valid Authentication
, including the GrantedAuthority
[]s that apply.
Constructor Summary | |
---|---|
RememberMeAuthenticationToken(String key,
Object principal,
GrantedAuthority[] authorities)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Object |
getCredentials()
Always returns an empty String |
int |
getKeyHash()
|
Object |
getPrincipal()
The identity of the principal being authenticated. |
Methods inherited from class org.springframework.security.providers.AbstractAuthenticationToken |
---|
getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RememberMeAuthenticationToken(String key, Object principal, GrantedAuthority[] authorities)
key
- to identify if this object made by an authorised clientprincipal
- the principal (typically a UserDetails
)authorities
- the authorities granted to the principal
IllegalArgumentException
- if a null
was passedMethod Detail |
---|
public boolean equals(Object obj)
equals
in interface Principal
equals
in class AbstractAuthenticationToken
public Object getCredentials()
String
getCredentials
in interface Authentication
public int getKeyHash()
public Object getPrincipal()
Authentication
getPrincipal
in interface Authentication
Principal
being authenticated
|
Spring Security Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |