|
||||||||||
| 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.cas.CasAuthenticationToken
public class CasAuthenticationToken
Represents a successful CAS Authentication.
| Constructor Summary | |
|---|---|
CasAuthenticationToken(String key,
Object principal,
Object credentials,
GrantedAuthority[] authorities,
UserDetails userDetails,
List proxyList,
String proxyGrantingTicketIou)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Object |
getCredentials()
The credentials that prove the principal is correct. |
int |
getKeyHash()
|
Object |
getPrincipal()
The identity of the principal being authenticated. |
String |
getProxyGrantingTicketIou()
Obtains the proxy granting ticket IOU. |
List |
getProxyList()
|
UserDetails |
getUserDetails()
|
String |
toString()
|
| Methods inherited from class org.acegisecurity.providers.AbstractAuthenticationToken |
|---|
getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CasAuthenticationToken(String key,
Object principal,
Object credentials,
GrantedAuthority[] authorities,
UserDetails userDetails,
List proxyList,
String proxyGrantingTicketIou)
key - to identify if this object made by a given CasAuthenticationProviderprincipal - typically the UserDetails object (cannot be null)credentials - the service/proxy ticket ID from CAS (cannot be
null)authorities - the authorities granted to the user (from CasAuthoritiesPopulator) (cannot be null)userDetails - the user details (from CasAuthoritiesPopulator) (cannot be null)proxyList - the list of proxies from CAS (cannot be
null)proxyGrantingTicketIou - the PGT-IOU ID from CAS (cannot be
null, but may be an empty String if no
PGT-IOU ID was provided)
IllegalArgumentException - if a null was passed| Method Detail |
|---|
public boolean equals(Object obj)
equals in interface Principalequals in class AbstractAuthenticationTokenpublic Object getCredentials()
AuthenticationAuthenticationManager. Callers are expected to populate the credentials.
getCredentials in interface AuthenticationPrincipalpublic int getKeyHash()
public Object getPrincipal()
Authentication
getPrincipal in interface AuthenticationPrincipal being authenticatedpublic String getProxyGrantingTicketIou()
String if no proxy callback was requested when validating the
service ticketpublic List getProxyList()
public UserDetails getUserDetails()
public String toString()
toString in interface PrincipaltoString in class AbstractAuthenticationToken
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||