Class X509CertificateCredentialsNonInteractiveAction

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean, org.springframework.webflow.execution.Action
    Direct Known Subclasses:
    X509CertificateCredentialsRequestHeaderAction

    public class X509CertificateCredentialsNonInteractiveAction
    extends org.apereo.cas.web.flow.actions.AbstractNonInteractiveCredentialsAction
    Concrete implementation of AbstractNonInteractiveCredentialsAction that obtains the X509 Certificates from the HttpServletRequest and places them in the X509CertificateCredential.
    Since:
    3.0.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.apereo.cas.configuration.CasConfigurationProperties casProperties
      CAS configuration settings.
      static java.lang.String REQUEST_ATTRIBUTE_X509_CERTIFICATE
      Attribute to indicate the x509 certificate.
      static java.lang.String REQUEST_ATTRIBUTE_X509_ERROR
      Attribute that indicates an error has occurred.
      • Fields inherited from class org.springframework.webflow.action.AbstractAction

        logger
    • Constructor Summary

      Constructors 
      Constructor Description
      X509CertificateCredentialsNonInteractiveAction​(org.apereo.cas.web.flow.resolver.CasDelegatingWebflowEventResolver webflowEventResolver, org.apereo.cas.web.flow.resolver.CasWebflowEventResolver serviceTicketRequestWebflowEventResolver, org.apereo.cas.authentication.adaptive.AdaptiveAuthenticationPolicy adaptiveAuthenticationPolicy, org.apereo.cas.configuration.CasConfigurationProperties casProperties)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apereo.cas.authentication.Credential constructCredentialsFromRequest​(org.springframework.webflow.execution.RequestContext context)  
      protected void onError​(org.springframework.webflow.execution.RequestContext requestContext)  
      • Methods inherited from class org.apereo.cas.web.flow.actions.AbstractNonInteractiveCredentialsAction

        doPreExecute
      • Methods inherited from class org.apereo.cas.web.flow.actions.AbstractAuthenticationAction

        doExecute, fireEventHooks, onSuccess, onWarn
      • Methods inherited from class org.apereo.cas.web.flow.actions.BaseCasWebflowAction

        isLoginFlowActive
      • 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
    • Field Detail

      • REQUEST_ATTRIBUTE_X509_CERTIFICATE

        public static final java.lang.String REQUEST_ATTRIBUTE_X509_CERTIFICATE
        Attribute to indicate the x509 certificate.
        See Also:
        Constant Field Values
      • REQUEST_ATTRIBUTE_X509_ERROR

        public static final java.lang.String REQUEST_ATTRIBUTE_X509_ERROR
        Attribute that indicates an error has occurred. Used to break out of the flow and send user to a page with an error message.
        See Also:
        Constant Field Values
      • casProperties

        protected final org.apereo.cas.configuration.CasConfigurationProperties casProperties
        CAS configuration settings.
    • Constructor Detail

      • X509CertificateCredentialsNonInteractiveAction

        public X509CertificateCredentialsNonInteractiveAction​(org.apereo.cas.web.flow.resolver.CasDelegatingWebflowEventResolver webflowEventResolver,
                                                              org.apereo.cas.web.flow.resolver.CasWebflowEventResolver serviceTicketRequestWebflowEventResolver,
                                                              org.apereo.cas.authentication.adaptive.AdaptiveAuthenticationPolicy adaptiveAuthenticationPolicy,
                                                              org.apereo.cas.configuration.CasConfigurationProperties casProperties)
    • Method Detail

      • constructCredentialsFromRequest

        protected org.apereo.cas.authentication.Credential constructCredentialsFromRequest​(org.springframework.webflow.execution.RequestContext context)
        Specified by:
        constructCredentialsFromRequest in class org.apereo.cas.web.flow.actions.AbstractNonInteractiveCredentialsAction
      • onError

        protected void onError​(org.springframework.webflow.execution.RequestContext requestContext)
        Overrides:
        onError in class org.apereo.cas.web.flow.actions.AbstractNonInteractiveCredentialsAction