public class InitiatingMultiFactorAuthenticationViaFormAction extends AbstractMultiFactorAuthenticationViaFormAction
MultiFactorAuthenticationSupportingWebApplicationService,
this action would simply attempt to verify the given credentials based on
AbstractMultiFactorAuthenticationViaFormAction.setMultiFactorAuthenticationManager(org.jasig.cas.authentication.AuthenticationManager)
and will alter the webflow to the next leg of the authentication sequence.authenticationManager, authenticationMethodVerifier, authenticationSupport, cas, credentialsBinder, logger, multiFactorAuthenticationRequestResolver| Constructor and Description |
|---|
InitiatingMultiFactorAuthenticationViaFormAction(MultiFactorAuthenticationRequestResolver multiFactorAuthenticationRequestResolver,
net.unicon.cas.addons.authentication.AuthenticationSupport authenticationSupport,
AuthenticationMethodVerifier authenticationMethodVerifier,
org.jasig.cas.web.flow.AuthenticationViaFormAction wrapperAuthenticationAction,
RequestedAuthenticationMethodRankingStrategy authenticationMethodRankingStrategy,
String hostname)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.webflow.execution.Event |
doAuthentication(org.springframework.webflow.execution.RequestContext context,
org.jasig.cas.authentication.principal.Credentials credentials,
org.springframework.binding.message.MessageContext messageContext,
String id)
In the event of a non-MFA request, return the result of
AbstractMultiFactorAuthenticationViaFormAction.getErrorEvent(RequestContext) by default. |
protected org.springframework.webflow.execution.Event |
multiFactorAuthenticationSuccessful(org.jasig.cas.authentication.Authentication authentication,
org.springframework.webflow.execution.RequestContext context,
org.jasig.cas.authentication.principal.Credentials credentials,
org.springframework.binding.message.MessageContext messageContext,
String id)
Multifactor authentication successful.
|
void |
setWarnCookieGenerator(org.springframework.web.util.CookieGenerator warnCookieGenerator)
Sets the warn cookie generator.
|
addToMfaTransactionAndGetHighestRankedMfaRequest, afterPropertiesSet, doBind, doExecute, doMultiFactorAuthentication, getErrorEvent, getMfaRequestOrNull, getSuccessEvent, isValidLoginTicket, populateErrorsInstance, setCentralAuthenticationService, setCredentialsBinder, setErrorEventBuilder, setMultiFactorAuthenticationManager, setSuccessfulEventBuilderpublic InitiatingMultiFactorAuthenticationViaFormAction(MultiFactorAuthenticationRequestResolver multiFactorAuthenticationRequestResolver, net.unicon.cas.addons.authentication.AuthenticationSupport authenticationSupport, AuthenticationMethodVerifier authenticationMethodVerifier, org.jasig.cas.web.flow.AuthenticationViaFormAction wrapperAuthenticationAction, RequestedAuthenticationMethodRankingStrategy authenticationMethodRankingStrategy, String hostname)
multiFactorAuthenticationRequestResolver - multiFactorAuthenticationRequestResolverauthenticationSupport - authenticationSupportauthenticationMethodVerifier - authenticationMethodVerifierwrapperAuthenticationAction - wrapperAuthenticationActionauthenticationMethodRankingStrategy - authenticationMethodRankingStrategyhostname - the hostnameprotected final org.springframework.webflow.execution.Event doAuthentication(org.springframework.webflow.execution.RequestContext context,
org.jasig.cas.authentication.principal.Credentials credentials,
org.springframework.binding.message.MessageContext messageContext,
String id)
throws Exception
AbstractMultiFactorAuthenticationViaFormActionAbstractMultiFactorAuthenticationViaFormAction.getErrorEvent(RequestContext) by default.
Implementations are expected to override this method if they wish to respond to authentication
requests.doAuthentication in class AbstractMultiFactorAuthenticationViaFormActioncontext - request contextcredentials - the requesting credentialsmessageContext - the message bundle managerid - the identifier of the credential, based on implementation provided in the flow setupException - the exceptionpublic final void setWarnCookieGenerator(org.springframework.web.util.CookieGenerator warnCookieGenerator)
warnCookieGenerator - the new warn cookie generatorprotected final org.springframework.webflow.execution.Event multiFactorAuthenticationSuccessful(org.jasig.cas.authentication.Authentication authentication,
org.springframework.webflow.execution.RequestContext context,
org.jasig.cas.authentication.principal.Credentials credentials,
org.springframework.binding.message.MessageContext messageContext,
String id)
AbstractMultiFactorAuthenticationViaFormActionmultiFactorAuthenticationSuccessful in class AbstractMultiFactorAuthenticationViaFormActionauthentication - the authenticationcontext - the contextcredentials - the credentialsmessageContext - the message contextid - the idCopyright © 2013-2015 Unicon Inc.. All Rights Reserved.