Package org.apereo.cas.authentication
Class DefaultAuthenticationResult
java.lang.Object
org.apereo.cas.authentication.DefaultAuthenticationResult
- All Implemented Interfaces:
Serializable,org.apereo.cas.authentication.AuthenticationResult
public class DefaultAuthenticationResult
extends Object
implements org.apereo.cas.authentication.AuthenticationResult
The
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.- Since:
- 4.2
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDefaultAuthenticationResult.DefaultAuthenticationResultBuilder<C extends DefaultAuthenticationResult,B extends DefaultAuthenticationResult.DefaultAuthenticationResultBuilder<C, B>> -
Constructor Summary
ConstructorsConstructorDescriptionDefaultAuthenticationResult(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.authentication.principal.Service service) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()org.apereo.cas.authentication.Authenticationorg.apereo.cas.authentication.principal.ServicebooleanvoidsetCredentialProvided(boolean credentialProvided) toString()
-
Constructor Details
-
DefaultAuthenticationResult
public DefaultAuthenticationResult(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.authentication.principal.Service service)
-
-
Method Details
-
builder
-
toString
-
setCredentialProvided
public void setCredentialProvided(boolean credentialProvided) -
getAuthentication
public org.apereo.cas.authentication.Authentication getAuthentication()- Specified by:
getAuthenticationin interfaceorg.apereo.cas.authentication.AuthenticationResult
-
getService
public org.apereo.cas.authentication.principal.Service getService()- Specified by:
getServicein interfaceorg.apereo.cas.authentication.AuthenticationResult
-
isCredentialProvided
public boolean isCredentialProvided()- Specified by:
isCredentialProvidedin interfaceorg.apereo.cas.authentication.AuthenticationResult
-