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;
}
Aggregations