use of org.apereo.cas.support.openid.web.support.OpenIdPostUrlHandlerMapping in project cas by apereo.
the class OpenIdConfiguration method openIdPostUrlHandlerMapping.
@Autowired
@Bean
public OpenIdPostUrlHandlerMapping openIdPostUrlHandlerMapping(@Qualifier("argumentExtractor") final ArgumentExtractor argumentExtractor) {
final OpenIdValidateController c = new OpenIdValidateController(cas20WithoutProxyProtocolValidationSpecification, authenticationSystemSupport, servicesManager, centralAuthenticationService, proxy20Handler, argumentExtractor, multifactorTriggerSelectionStrategy, authenticationContextValidator, cas3ServiceJsonView, casOpenIdServiceSuccessView, casOpenIdServiceFailureView, casProperties.getAuthn().getMfa().getAuthenticationContextAttribute(), serverManager(), validationAuthorizers, casProperties.getSso().isRenewAuthnEnabled());
final DelegatingController controller = new DelegatingController();
controller.setDelegates(CollectionUtils.wrapList(smartOpenIdAssociationController(), c));
final OpenIdPostUrlHandlerMapping m = new OpenIdPostUrlHandlerMapping();
m.setOrder(1);
final Properties mappings = new Properties();
mappings.put("/login", controller);
m.setMappings(mappings);
return m;
}
Aggregations