public class DefaultAuthenticationResult
extends java.lang.Object
implements org.apereo.cas.authentication.AuthenticationResult
DefaultAuthenticationResult represents a concrete implementation of AuthenticationResult.
It acts as a carrier for the finalized primary authentications established during processing of authentication events
(possibly multi-transactional) by CAS' authentication subsystem.| Constructor and Description |
|---|
DefaultAuthenticationResult(org.apereo.cas.authentication.Authentication authentication)
Instantiates a new Default authentication result.
|
DefaultAuthenticationResult(org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.authentication.principal.Service service)
Instantiates a new Default authentication result.
|
| Modifier and Type | Method and Description |
|---|---|
org.apereo.cas.authentication.Authentication |
getAuthentication() |
org.apereo.cas.authentication.principal.Service |
getService() |
boolean |
isCredentialProvided() |
void |
setCredentialProvided(boolean credentialProvided) |
java.lang.String |
toString() |
public DefaultAuthenticationResult(org.apereo.cas.authentication.Authentication authentication,
org.apereo.cas.authentication.principal.Service service)
authentication - the authenticationservice - the servicepublic DefaultAuthenticationResult(org.apereo.cas.authentication.Authentication authentication)
authentication - the authenticationpublic org.apereo.cas.authentication.Authentication getAuthentication()
getAuthentication in interface org.apereo.cas.authentication.AuthenticationResultpublic org.apereo.cas.authentication.principal.Service getService()
getService in interface org.apereo.cas.authentication.AuthenticationResultpublic boolean isCredentialProvided()
isCredentialProvided in interface org.apereo.cas.authentication.AuthenticationResultpublic void setCredentialProvided(boolean credentialProvided)
public java.lang.String toString()
toString in class java.lang.Object