|
||||||||||
| 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(java.lang.String key,
java.lang.Object principal,
java.lang.Object credentials,
GrantedAuthority[] authorities,
UserDetails userDetails,
java.util.List proxyList,
java.lang.String proxyGrantingTicketIou)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Object |
getCredentials()
The credentials that prove the principal is correct. |
int |
getKeyHash()
|
java.lang.Object |
getPrincipal()
The identity of the principal being authenticated. |
java.lang.String |
getProxyGrantingTicketIou()
Obtains the proxy granting ticket IOU. |
java.util.List |
getProxyList()
|
UserDetails |
getUserDetails()
|
java.lang.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(java.lang.String key,
java.lang.Object principal,
java.lang.Object credentials,
GrantedAuthority[] authorities,
UserDetails userDetails,
java.util.List proxyList,
java.lang.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)
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()
AuthenticationAuthenticationManager. Callers are expected to populate the credentials.
getCredentials in interface AuthenticationPrincipalpublic int getKeyHash()
public java.lang.Object getPrincipal()
Authentication
getPrincipal in interface AuthenticationPrincipal being authenticatedpublic java.lang.String getProxyGrantingTicketIou()
String if no proxy callback was requested when validating the
service ticketpublic java.util.List getProxyList()
public UserDetails getUserDetails()
public java.lang.String toString()
toString in interface java.security.PrincipaltoString in class AbstractAuthenticationToken
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||