Class Overview
Represents a successful CAS Authentication
.
Public Constructors
public
CasAuthenticationToken
(String key, Object principal, Object credentials, Collection<? extends GrantedAuthority> authorities, UserDetails userDetails, Assertion assertion)
Parameters
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 the UserDetailsService ) (cannot be null ) |
userDetails
| the user details (from the UserDetailsService ) (cannot be null ) |
assertion
| the assertion returned from the CAS servers. It contains the principal and how to obtain a
proxy ticket for the user. |
Public Methods
public
boolean
equals
(Object obj)
public
Assertion
getAssertion
()
public
Object
getCredentials
()