use of org.apereo.cas.validation.DefaultServiceTicketValidationAuthorizersExecutionPlan in project cas by apereo.
the class CasCoreValidationConfiguration method serviceValidationAuthorizers.
@Autowired
@Bean
@ConditionalOnMissingBean(name = "serviceValidationAuthorizers")
public ServiceTicketValidationAuthorizersExecutionPlan serviceValidationAuthorizers(final List<ServiceTicketValidationAuthorizerConfigurer> configurers) {
final DefaultServiceTicketValidationAuthorizersExecutionPlan plan = new DefaultServiceTicketValidationAuthorizersExecutionPlan();
configurers.forEach(c -> {
final String name = StringUtils.removePattern(c.getClass().getSimpleName(), "\\$.+");
LOGGER.debug("Configuring service ticket validation authorizer execution plan [{}]", name);
c.configureAuthorizersExecutionPlan(plan);
});
return plan;
}
Aggregations