public class DefaultHandlerResult
extends java.lang.Object
implements org.apereo.cas.authentication.HandlerResult
AuthenticationHandler.
Handler results are naturally immutable since they contain sensitive information that should not be modified outside
the AuthenticationHandler that produced it.| Constructor and Description |
|---|
DefaultHandlerResult(org.apereo.cas.authentication.AuthenticationHandler source,
org.apereo.cas.authentication.CredentialMetaData metaData)
Instantiates a new handler result.
|
DefaultHandlerResult(org.apereo.cas.authentication.AuthenticationHandler source,
org.apereo.cas.authentication.CredentialMetaData metaData,
java.util.List<org.apereo.cas.authentication.MessageDescriptor> warnings)
Instantiates a new handler result.
|
DefaultHandlerResult(org.apereo.cas.authentication.AuthenticationHandler source,
org.apereo.cas.authentication.CredentialMetaData metaData,
org.apereo.cas.authentication.principal.Principal p)
Instantiates a new handler result.
|
DefaultHandlerResult(org.apereo.cas.authentication.AuthenticationHandler source,
org.apereo.cas.authentication.CredentialMetaData metaData,
org.apereo.cas.authentication.principal.Principal p,
java.util.List<org.apereo.cas.authentication.MessageDescriptor> warnings)
Instantiates a new handler result.
|
DefaultHandlerResult(java.lang.String handlerName,
org.apereo.cas.authentication.CredentialMetaData metaData,
org.apereo.cas.authentication.principal.Principal p,
java.util.List<org.apereo.cas.authentication.MessageDescriptor> warnings)
Instantiates a new Default handler result.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
org.apereo.cas.authentication.CredentialMetaData |
getCredentialMetaData() |
java.lang.String |
getHandlerName() |
org.apereo.cas.authentication.principal.Principal |
getPrincipal() |
java.util.List<org.apereo.cas.authentication.MessageDescriptor> |
getWarnings() |
int |
hashCode() |
java.lang.String |
toString() |
public DefaultHandlerResult(org.apereo.cas.authentication.AuthenticationHandler source,
org.apereo.cas.authentication.CredentialMetaData metaData)
source - the sourcemetaData - the meta datapublic DefaultHandlerResult(org.apereo.cas.authentication.AuthenticationHandler source,
org.apereo.cas.authentication.CredentialMetaData metaData,
org.apereo.cas.authentication.principal.Principal p)
source - the sourcemetaData - the meta datap - the ppublic DefaultHandlerResult(org.apereo.cas.authentication.AuthenticationHandler source,
org.apereo.cas.authentication.CredentialMetaData metaData,
java.util.List<org.apereo.cas.authentication.MessageDescriptor> warnings)
source - the sourcemetaData - the meta datawarnings - the warningspublic DefaultHandlerResult(org.apereo.cas.authentication.AuthenticationHandler source,
org.apereo.cas.authentication.CredentialMetaData metaData,
org.apereo.cas.authentication.principal.Principal p,
java.util.List<org.apereo.cas.authentication.MessageDescriptor> warnings)
source - the sourcemetaData - the meta datap - the pwarnings - the warningspublic DefaultHandlerResult(java.lang.String handlerName,
org.apereo.cas.authentication.CredentialMetaData metaData,
org.apereo.cas.authentication.principal.Principal p,
java.util.List<org.apereo.cas.authentication.MessageDescriptor> warnings)
handlerName - the handler namemetaData - the meta datap - the pwarnings - the warningspublic java.lang.String getHandlerName()
getHandlerName in interface org.apereo.cas.authentication.HandlerResultpublic org.apereo.cas.authentication.CredentialMetaData getCredentialMetaData()
getCredentialMetaData in interface org.apereo.cas.authentication.HandlerResultpublic org.apereo.cas.authentication.principal.Principal getPrincipal()
getPrincipal in interface org.apereo.cas.authentication.HandlerResultpublic java.util.List<org.apereo.cas.authentication.MessageDescriptor> getWarnings()
getWarnings in interface org.apereo.cas.authentication.HandlerResultpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object