public final class CasAssertionAuthenticationToken extends AbstractAuthenticationToken
| Constructor and Description |
|---|
CasAssertionAuthenticationToken(org.jasig.cas.client.validation.Assertion assertion,
String ticket) |
| Modifier and Type | Method and Description |
|---|---|
org.jasig.cas.client.validation.Assertion |
getAssertion() |
Object |
getCredentials()
The credentials that prove the principal is correct.
|
Object |
getPrincipal()
The identity of the principal being authenticated.
|
equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toStringpublic CasAssertionAuthenticationToken(org.jasig.cas.client.validation.Assertion assertion,
String ticket)
public Object getPrincipal()
Authentication
The AuthenticationManager implementation will often return an Authentication containing
richer information as the principal for use by the application. Many of the authentication providers will
create a UserDetails object as the principal.
Principal being authenticated or the authenticated principal after authentication.public Object getCredentials()
AuthenticationAuthenticationManager. Callers are expected to populate the credentials.Principalpublic org.jasig.cas.client.validation.Assertion getAssertion()