Package org.apereo.cas.web.flow
Class X509CertificateCredentialsNonInteractiveAction
- java.lang.Object
-
- org.springframework.webflow.action.AbstractAction
-
- org.apereo.cas.web.flow.actions.BaseCasWebflowAction
-
- org.apereo.cas.web.flow.actions.AbstractAuthenticationAction
-
- org.apereo.cas.web.flow.actions.AbstractNonInteractiveCredentialsAction
-
- org.apereo.cas.web.flow.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.AbstractNonInteractiveCredentialsActionConcrete 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.CasConfigurationPropertiescasPropertiesCAS configuration settings.static java.lang.StringREQUEST_ATTRIBUTE_X509_CERTIFICATEAttribute to indicate the x509 certificate.static java.lang.StringREQUEST_ATTRIBUTE_X509_ERRORAttribute that indicates an error has occurred.
-
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.CredentialconstructCredentialsFromRequest(org.springframework.webflow.execution.RequestContext context)protected voidonError(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
-
-
-
-
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:
constructCredentialsFromRequestin classorg.apereo.cas.web.flow.actions.AbstractNonInteractiveCredentialsAction
-
onError
protected void onError(org.springframework.webflow.execution.RequestContext requestContext)
- Overrides:
onErrorin classorg.apereo.cas.web.flow.actions.AbstractNonInteractiveCredentialsAction
-
-