use of org.springframework.security.saml.processor.HTTPArtifactBinding in project hub-alert by blackducksoftware.
the class AuthenticationHandler method artifactBinding.
@Bean
public HTTPArtifactBinding artifactBinding(ParserPool parserPool, VelocityEngine velocityEngine) {
ArtifactResolutionProfileImpl profileImpl = new ArtifactResolutionProfileImpl(new HttpClient(new MultiThreadedHttpConnectionManager()));
profileImpl.setProcessor(new SAMLProcessorImpl(soapBinding()));
return new HTTPArtifactBinding(parserPool, velocityEngine, profileImpl);
}
Aggregations