public class DefaultRegisteredServiceMfaRoleProcessorImpl extends Object implements RegisteredServiceMfaRoleProcessor
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTHN_METHOD
authn_method.
|
protected org.slf4j.Logger |
logger
The logger.
|
static String |
MFA_ATTRIBUTE_NAME
mfa_attribute_name.
|
static String |
MFA_ATTRIBUTE_PATTERN
mfa_attribute_name.
|
static String |
MFA_ROLE
mfa_role.
|
| Constructor and Description |
|---|
DefaultRegisteredServiceMfaRoleProcessorImpl(MultiFactorWebApplicationServiceFactory mfaServiceFactory,
AuthenticationMethodConfigurationProvider authenticationMethodConfiguration,
org.jasig.cas.services.ServicesManager servicesManager)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
List<MultiFactorAuthenticationRequestContext> |
resolve(org.jasig.cas.authentication.Authentication authentication,
org.jasig.cas.authentication.principal.WebApplicationService targetService)
Resolves the authn_method for a given service if it supports mfa_role and the user has the appropriate attribute.
|
public static final String MFA_ROLE
public static final String MFA_ATTRIBUTE_NAME
public static final String MFA_ATTRIBUTE_PATTERN
public static final String AUTHN_METHOD
protected final org.slf4j.Logger logger
public DefaultRegisteredServiceMfaRoleProcessorImpl(MultiFactorWebApplicationServiceFactory mfaServiceFactory, AuthenticationMethodConfigurationProvider authenticationMethodConfiguration, org.jasig.cas.services.ServicesManager servicesManager)
mfaServiceFactory - mfaServiceFactoryauthenticationMethodConfiguration - the authentication method loaderservicesManager - a CAS Service Manager instancepublic List<MultiFactorAuthenticationRequestContext> resolve(@NotNull org.jasig.cas.authentication.Authentication authentication, @NotNull org.jasig.cas.authentication.principal.WebApplicationService targetService)
resolve in interface RegisteredServiceMfaRoleProcessorauthentication - the user authentication objecttargetService - the target service being testedCopyright © 2013-2015 Unicon Inc.. All Rights Reserved.