Package org.apereo.cas.web.flow.actions
Class AbstractNonInteractiveCredentialsAction
- java.lang.Object
-
- org.springframework.webflow.action.AbstractAction
-
- org.apereo.cas.web.flow.actions.AbstractAuthenticationAction
-
- org.apereo.cas.web.flow.actions.AbstractNonInteractiveCredentialsAction
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean,org.springframework.webflow.execution.Action
public abstract class AbstractNonInteractiveCredentialsAction extends AbstractAuthenticationAction
Abstract class to handle the retrieval and authentication of non-interactive credential such as client certificates, NTLM, etc.- Since:
- 3.0.0
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractNonInteractiveCredentialsAction(CasDelegatingWebflowEventResolver initialAuthenticationAttemptWebflowEventResolver, CasWebflowEventResolver serviceTicketRequestWebflowEventResolver, org.apereo.cas.authentication.adaptive.AdaptiveAuthenticationPolicy adaptiveAuthenticationPolicy)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.apereo.cas.authentication.CredentialconstructCredentialsFromRequest(org.springframework.webflow.execution.RequestContext context)Abstract method to implement to construct the credential from the request object.protected org.springframework.webflow.execution.EventdoPreExecute(org.springframework.webflow.execution.RequestContext context)protected voidonError(org.springframework.webflow.execution.RequestContext requestContext)On error.-
Methods inherited from class org.apereo.cas.web.flow.actions.AbstractAuthenticationAction
doExecute, fireEventHooks, onSuccess, onWarn
-
-
-
-
Constructor Detail
-
AbstractNonInteractiveCredentialsAction
protected AbstractNonInteractiveCredentialsAction(CasDelegatingWebflowEventResolver initialAuthenticationAttemptWebflowEventResolver, CasWebflowEventResolver serviceTicketRequestWebflowEventResolver, org.apereo.cas.authentication.adaptive.AdaptiveAuthenticationPolicy adaptiveAuthenticationPolicy)
-
-
Method Detail
-
doPreExecute
protected org.springframework.webflow.execution.Event doPreExecute(org.springframework.webflow.execution.RequestContext context) throws java.lang.Exception- Overrides:
doPreExecutein classorg.springframework.webflow.action.AbstractAction- Throws:
java.lang.Exception
-
onError
protected void onError(org.springframework.webflow.execution.RequestContext requestContext)
Description copied from class:AbstractAuthenticationActionOn error.- Overrides:
onErrorin classAbstractAuthenticationAction- Parameters:
requestContext- the context
-
constructCredentialsFromRequest
protected abstract org.apereo.cas.authentication.Credential constructCredentialsFromRequest(org.springframework.webflow.execution.RequestContext context)
Abstract method to implement to construct the credential from the request object.- Parameters:
context- the context for this request.- Returns:
- the constructed credential or null if none could be constructed from the request.
-
-