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, toString
public 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()
Authentication
AuthenticationManager
. Callers
are expected to populate the credentials.Principal
public org.jasig.cas.client.validation.Assertion getAssertion()