use of org.springframework.security.saml.processor.SAMLProcessorImpl 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);
}
use of org.springframework.security.saml.processor.SAMLProcessorImpl in project cloud-pipeline by epam.
the class SAMLSecurityConfiguration method artifactResolutionProfile.
// Bindings
private ArtifactResolutionProfile artifactResolutionProfile() {
final ArtifactResolutionProfileImpl artifactResolutionProfile = new ArtifactResolutionProfileImpl(httpClient());
artifactResolutionProfile.setProcessor(new SAMLProcessorImpl(soapBinding()));
return artifactResolutionProfile;
}
use of org.springframework.security.saml.processor.SAMLProcessorImpl in project asquare by cognizone.
the class SamlSecurityAdapter method artifactResolutionProfile.
// Bindings
private ArtifactResolutionProfile artifactResolutionProfile() {
final ArtifactResolutionProfileImpl artifactResolutionProfile = new ArtifactResolutionProfileImpl(httpClient());
artifactResolutionProfile.setProcessor(new SAMLProcessorImpl(soapBinding()));
return artifactResolutionProfile;
}
use of org.springframework.security.saml.processor.SAMLProcessorImpl in project MobileAccessGateway by i4mi.
the class SamlIDPIntegration method artifactResolutionProfile.
// Bindings
private ArtifactResolutionProfile artifactResolutionProfile() throws MetadataProviderException {
final ArtifactResolutionProfileImpl artifactResolutionProfile = new ArtifactResolutionProfileImpl(httpClient());
artifactResolutionProfile.setProcessor(new SAMLProcessorImpl(soapBinding()));
MetadataManager metadataManager = metadata();
metadataManager.refreshMetadata();
artifactResolutionProfile.setMetadata(metadataManager);
return artifactResolutionProfile;
}
use of org.springframework.security.saml.processor.SAMLProcessorImpl 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