public final class DefaultMultiFactorAuthenticationSupportingWebApplicationService extends org.jasig.cas.authentication.principal.AbstractWebApplicationService implements MultiFactorAuthenticationSupportingWebApplicationService
SimpleWebApplicationServiceImpl. The only difference
is that it is only is activated when the request parameter MultiFactorAuthenticationSupportingWebApplicationService.CONST_PARAM_AUTHN_METHOD is
present and its value is supported by the corresponding argument extractor.
NOTE: The delegation is necessary because the SimpleWebApplicationServiceImpl
itself is marked as final. Future versions of CAS might make the class more available.
MultiFactorAuthenticationSupportingWebApplicationService.AuthenticationMethodSource| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOGGER
The logger instance.
|
LOGCONST_PARAM_AUTHN_METHOD| Constructor and Description |
|---|
DefaultMultiFactorAuthenticationSupportingWebApplicationService(String id,
String originalUrl,
String artifactId,
org.jasig.cas.util.HttpClient httpClient,
String authnMethod)
Create an instance of
DefaultMultiFactorAuthenticationSupportingWebApplicationService. |
DefaultMultiFactorAuthenticationSupportingWebApplicationService(String id,
String originalUrl,
String artifactId,
org.jasig.cas.util.HttpClient httpClient,
String authnMethod,
MultiFactorAuthenticationSupportingWebApplicationService.AuthenticationMethodSource authenticationMethodSource)
Create an instance of
DefaultMultiFactorAuthenticationSupportingWebApplicationService. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAuthenticationMethod()
Define the authentication method accepted and supported by this MFA service.
|
MultiFactorAuthenticationSupportingWebApplicationService.AuthenticationMethodSource |
getAuthenticationMethodSource()
An authentication method source for this MFA service.
|
org.jasig.cas.authentication.principal.Response |
getResponse(String ticketId) |
int |
hashCode() |
cleanupUrl, getArtifactId, getAttributes, getHttpClient, getId, getOriginalUrl, getPrincipal, logOutOfService, matches, setPrincipal, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetArtifactIdpublic DefaultMultiFactorAuthenticationSupportingWebApplicationService(String id, String originalUrl, String artifactId, org.jasig.cas.util.HttpClient httpClient, @NotNull String authnMethod)
DefaultMultiFactorAuthenticationSupportingWebApplicationService.id - the service id, potentially with a jsessionid; still needing excisedoriginalUrl - the service urlartifactId - the artifact idhttpClient - http client to process requestsauthnMethod - the authentication method required for this servicepublic DefaultMultiFactorAuthenticationSupportingWebApplicationService(String id, String originalUrl, String artifactId, org.jasig.cas.util.HttpClient httpClient, @NotNull String authnMethod, @NotNull MultiFactorAuthenticationSupportingWebApplicationService.AuthenticationMethodSource authenticationMethodSource)
DefaultMultiFactorAuthenticationSupportingWebApplicationService.id - the service id, potentially with a jsessionid; still needing excisedoriginalUrl - the service urlartifactId - the artifact idhttpClient - http client to process requestsauthnMethod - the authentication method required for this serviceauthenticationMethodSource - the authentication method source for this servicepublic boolean equals(Object o)
equals in class org.jasig.cas.authentication.principal.AbstractWebApplicationServicepublic int hashCode()
hashCode in class org.jasig.cas.authentication.principal.AbstractWebApplicationServicepublic org.jasig.cas.authentication.principal.Response getResponse(String ticketId)
getResponse in interface org.jasig.cas.authentication.principal.WebApplicationServicepublic String getAuthenticationMethod()
MultiFactorAuthenticationSupportingWebApplicationServicegetAuthenticationMethod in interface MultiFactorAuthenticationSupportingWebApplicationServicepublic MultiFactorAuthenticationSupportingWebApplicationService.AuthenticationMethodSource getAuthenticationMethodSource()
MultiFactorAuthenticationSupportingWebApplicationServicegetAuthenticationMethodSource in interface MultiFactorAuthenticationSupportingWebApplicationServiceCopyright © 2013-2015 Unicon Inc.. All Rights Reserved.