public final class RegisteredServiceAttributeMultiFactorAuthenticationArgumentExtractor extends AbstractMultiFactorAuthenticationArgumentExtractor
WebApplicationService.
The requested authentication method discovery in this implementation is based on registered service extra attribute authn_methodlogger| Constructor and Description |
|---|
RegisteredServiceAttributeMultiFactorAuthenticationArgumentExtractor(List<org.jasig.cas.web.support.ArgumentExtractor> supportedArgumentExtractors,
MultiFactorWebApplicationServiceFactory mfaWebApplicationServiceFactory,
org.jasig.cas.services.ServicesManager servicesManager,
AuthenticationMethodVerifier authenticationMethodVerifier)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
checkMfaRoles(org.jasig.cas.authentication.principal.WebApplicationService targetService)
Adaptes the current request to check user attributes.
|
protected String |
determineDefaultAuthenticationMethod()
Determine default authentication method.
|
protected String |
getAuthenticationMethod(javax.servlet.http.HttpServletRequest request,
org.jasig.cas.authentication.principal.WebApplicationService targetService)
Delegates to subclasses to resolve requested authentication method.
|
protected MultiFactorAuthenticationSupportingWebApplicationService.AuthenticationMethodSource |
getAuthenticationMethodSource()
Delegates to subclasses to resolve target authentication method source.
|
void |
setAuthenticationMethodAttribute(String authenticationMethodAttribute) |
void |
setDefaultAuthenticationMethod(String defaultAuthenticationMethod) |
void |
setMfaRoleProcessor(RegisteredServiceMfaRoleProcessor mfaRoleProcessor) |
void |
setTicketRegistry(org.jasig.cas.ticket.registry.TicketRegistry ticketRegistry) |
extractService, setAuthenticationMethodTranslatorpublic RegisteredServiceAttributeMultiFactorAuthenticationArgumentExtractor(List<org.jasig.cas.web.support.ArgumentExtractor> supportedArgumentExtractors, MultiFactorWebApplicationServiceFactory mfaWebApplicationServiceFactory, org.jasig.cas.services.ServicesManager servicesManager, AuthenticationMethodVerifier authenticationMethodVerifier)
supportedArgumentExtractors - supported protocols by argument extractorsmfaWebApplicationServiceFactory - mfaWebApplicationServiceFactoryservicesManager - services managerauthenticationMethodVerifier - authenticationMethodVerifierpublic void setAuthenticationMethodAttribute(String authenticationMethodAttribute)
protected String getAuthenticationMethod(javax.servlet.http.HttpServletRequest request, org.jasig.cas.authentication.principal.WebApplicationService targetService)
AbstractMultiFactorAuthenticationArgumentExtractorgetAuthenticationMethod in class AbstractMultiFactorAuthenticationArgumentExtractorrequest - http requesttargetService - target serviceprotected MultiFactorAuthenticationSupportingWebApplicationService.AuthenticationMethodSource getAuthenticationMethodSource()
AbstractMultiFactorAuthenticationArgumentExtractorgetAuthenticationMethodSource in class AbstractMultiFactorAuthenticationArgumentExtractorpublic void setDefaultAuthenticationMethod(String defaultAuthenticationMethod)
protected String determineDefaultAuthenticationMethod()
protected String checkMfaRoles(org.jasig.cas.authentication.principal.WebApplicationService targetService)
targetService - the targetted servicepublic void setTicketRegistry(org.jasig.cas.ticket.registry.TicketRegistry ticketRegistry)
public void setMfaRoleProcessor(RegisteredServiceMfaRoleProcessor mfaRoleProcessor)
Copyright © 2013-2015 Unicon Inc.. All Rights Reserved.