Search in sources :

Example 1 with SamlValidateController

use of org.apereo.cas.support.saml.web.SamlValidateController in project cas by apereo.

the class SamlConfiguration method samlValidateController.

@Autowired
@Bean
public SamlValidateController samlValidateController(@Qualifier("argumentExtractor") final ArgumentExtractor argumentExtractor) {
    final SamlValidateController c = new SamlValidateController();
    c.setValidationSpecification(cas20WithoutProxyProtocolValidationSpecification);
    c.setSuccessView(casSamlServiceSuccessView());
    c.setFailureView(casSamlServiceFailureView());
    c.setProxyHandler(proxy20Handler);
    c.setAuthenticationSystemSupport(authenticationSystemSupport);
    c.setServicesManager(servicesManager);
    c.setCentralAuthenticationService(centralAuthenticationService);
    c.setArgumentExtractor(argumentExtractor);
    c.setMultifactorTriggerSelectionStrategy(multifactorTriggerSelectionStrategy);
    c.setAuthenticationContextValidator(authenticationContextValidator);
    c.setJsonView(cas3ServiceJsonView);
    c.setAuthnContextAttribute(casProperties.getAuthn().getMfa().getAuthenticationContextAttribute());
    return c;
}
Also used : SamlValidateController(org.apereo.cas.support.saml.web.SamlValidateController) Autowired(org.springframework.beans.factory.annotation.Autowired) ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean) OpenSamlConfigBean(org.apereo.cas.support.saml.OpenSamlConfigBean) Bean(org.springframework.context.annotation.Bean)

Aggregations

OpenSamlConfigBean (org.apereo.cas.support.saml.OpenSamlConfigBean)1 SamlValidateController (org.apereo.cas.support.saml.web.SamlValidateController)1 Autowired (org.springframework.beans.factory.annotation.Autowired)1 ConditionalOnMissingBean (org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean)1 Bean (org.springframework.context.annotation.Bean)1