|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.acegisecurity.providers.AbstractAuthenticationToken
org.acegisecurity.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(java.lang.String key,
java.lang.Object principal,
GrantedAuthority[] authorities)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Object |
getCredentials()
Always returns an empty String |
int |
getKeyHash()
|
java.lang.Object |
getPrincipal()
The identity of the principal being authenticated. |
| Methods inherited from class org.acegisecurity.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(java.lang.String key,
java.lang.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
java.lang.IllegalArgumentException - if a null was passed| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in interface java.security.Principalequals in class AbstractAuthenticationTokenpublic java.lang.Object getCredentials()
String
getCredentials in interface Authenticationpublic int getKeyHash()
public java.lang.Object getPrincipal()
Authentication
getPrincipal in interface AuthenticationPrincipal being authenticated
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||