use of org.apereo.cas.rest.factory.ChainingRestHttpRequestCredentialFactory in project cas by apereo.
the class CasRestConfiguration method restHttpRequestCredentialFactory.
@Autowired
@Bean
public RestHttpRequestCredentialFactory restHttpRequestCredentialFactory(final List<RestHttpRequestCredentialFactoryConfigurer> configurers) {
final ChainingRestHttpRequestCredentialFactory factory = new ChainingRestHttpRequestCredentialFactory();
configurers.forEach(c -> c.configureCredentialFactory(factory));
return factory;
}
Aggregations