Class 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
    • Field Summary

      • Fields inherited from class org.springframework.webflow.action.AbstractAction

        logger
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      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.
      protected org.springframework.webflow.execution.Event doPreExecute​(org.springframework.webflow.execution.RequestContext context)  
      protected void onError​(org.springframework.webflow.execution.RequestContext requestContext)
      On error.
      • Methods inherited from class org.springframework.webflow.action.AbstractAction

        afterPropertiesSet, doPostExecute, error, error, execute, getActionNameForLogging, getEventFactorySupport, initAction, no, result, result, result, result, success, success, yes
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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:
        doPreExecute in class org.springframework.webflow.action.AbstractAction
        Throws:
        java.lang.Exception
      • 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.