use of org.apereo.cas.web.LegacyValidateController in project cas by apereo.
the class CasValidationConfiguration method legacyValidateController.
@Autowired
@Bean
public LegacyValidateController legacyValidateController(@Qualifier("argumentExtractor") final ArgumentExtractor argumentExtractor) {
final LegacyValidateController c = new LegacyValidateController();
c.setValidationSpecification(this.cas10ProtocolValidationSpecification);
c.setSuccessView(cas1ServiceSuccessView());
c.setFailureView(cas1ServiceFailureView());
c.setProxyHandler(proxy10Handler);
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