SAMLProcessorConfigurer extends SecurityConfigurerAdapter<Void, ServiceProviderBuilder> { @Override public void init(ServiceProviderBuilder builder) throws Exception { sAMLProcessorBean = builder.getSharedObject(SAMLProcessor.class); processorConfig = builder.getSharedObject(SAMLSSOProperties.class).getSamlProcessor(); parserPool = builder.getSharedObject(ParserPool.class); } SAMLProcessorConfigurer(SAMLProcessor sAMLProcessor);  SAMLProcessorConfigurer(); @Override void init(ServiceProviderBuilder builder); @Override void configure(ServiceProviderBuilder builder); SAMLProcessorConfigurer disableRedirectBinding(); SAMLProcessorConfigurer redirectBinding(HTTPRedirectDeflateBinding binding); SAMLProcessorConfigurer disablePostBinding(); SAMLProcessorConfigurer postBinding(HTTPPostBinding binding); SAMLProcessorConfigurer disableArtifactBinding(); SAMLProcessorConfigurer artifactBinding(HTTPArtifactBinding binding); SAMLProcessorConfigurer disableSoapBinding(); SAMLProcessorConfigurer soapBinding(HTTPSOAP11Binding binding); SAMLProcessorConfigurer disablePaosBinding(); SAMLProcessorConfigurer paosBinding(HTTPPAOS11Binding binding);  }
@Test public void init() throws Exception { SAMLProcessorConfigurer configurer = new SAMLProcessorConfigurer(); configurer.init(builder); verify(builder).getSharedObject(eq(SAMLProcessor.class)); }