public final class CasAssertionAuthenticationToken extends AbstractAuthenticationToken
Constructor and Description |
---|
CasAssertionAuthenticationToken(Assertion assertion,
java.lang.String ticket) |
Modifier and Type | Method and Description |
---|---|
Assertion |
getAssertion() |
java.lang.Object |
getCredentials()
The credentials that prove the principal is correct.
|
java.lang.Object |
getPrincipal()
The identity of the principal being authenticated.
|
equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toString
public CasAssertionAuthenticationToken(Assertion assertion, java.lang.String ticket)
public java.lang.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 java.lang.Object getCredentials()
Authentication
AuthenticationManager
. Callers
are expected to populate the credentials.Principal
public Assertion getAssertion()