|
||||||||||
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 CasAuthenticationProvider
principal
- 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 passedMethod Detail |
---|
public boolean equals(Object obj)
equals
in interface Principal
equals
in class AbstractAuthenticationToken
public Object getCredentials()
Authentication
AuthenticationManager
. Callers are expected to populate the credentials.
getCredentials
in interface Authentication
Principal
public int getKeyHash()
public Object getPrincipal()
Authentication
getPrincipal
in interface Authentication
Principal
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 Principal
toString
in class AbstractAuthenticationToken
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |