use of org.springframework.security.saml.processor.HTTPPAOS11Binding in project Insights by CognizantOneDevOps.
the class InsightsSecurityConfigurationAdapterSAML method processor.
@Bean
@Conditional(InsightsSAMLBeanInitializationCondition.class)
public SAMLProcessorImpl processor() {
Collection<SAMLBinding> bindings = new ArrayList<>();
ArtifactResolutionProfileImpl artifactResolutionProfile = new ArtifactResolutionProfileImpl(httpClient());
HTTPSOAP11Binding soapBinding = new HTTPSOAP11Binding(parserPool());
artifactResolutionProfile.setProcessor(new SAMLProcessorImpl(soapBinding));
bindings.add(httpRedirectDeflateBinding());
bindings.add(httpPostBinding());
bindings.add(new HTTPArtifactBinding(parserPool(), velocityEngine(), artifactResolutionProfile));
bindings.add(new HTTPSOAP11Binding(parserPool()));
bindings.add(new HTTPPAOS11Binding(parserPool()));
return new SAMLProcessorImpl(bindings);
}
Aggregations