use of uk.gov.ida.hub.samlengine.exceptions.SamlEngineExceptionMapper in project verify-hub by alphagov.
the class SamlEngineModule method configure.
@Override
protected void configure() {
bind(TrustStoreConfiguration.class).to(SamlEngineConfiguration.class);
bind(RestfulClientConfiguration.class).to(SamlEngineConfiguration.class);
bind(SamlDuplicateRequestValidationConfiguration.class).to(SamlEngineConfiguration.class);
bind(SamlAuthnRequestValidityDurationConfiguration.class).to(SamlEngineConfiguration.class);
bind(Client.class).toProvider(DefaultClientProvider.class).asEagerSingleton();
bind(EntityToEncryptForLocator.class).to(AssignableEntityToEncryptForLocator.class);
bind(AssignableEntityToEncryptForLocator.class).asEagerSingleton();
bind(InfinispanStartupTasks.class).asEagerSingleton();
bind(ConfigServiceKeyStore.class).asEagerSingleton();
bind(JsonResponseProcessor.class);
bind(RpErrorResponseGeneratorService.class);
bind(TransactionsConfigProxy.class);
bind(MatchingServiceHealthcheckRequestGeneratorService.class);
bind(ObjectMapper.class).toInstance(new ObjectMapper());
bind(ExpiredCertificateMetadataFilter.class).toInstance(new ExpiredCertificateMetadataFilter());
bind(new TypeLiteral<LevelLoggerFactory<SamlEngineExceptionMapper>>() {
}).toInstance(new LevelLoggerFactory<>());
bind(OutboundResponseFromHubToResponseTransformerFactory.class);
bind(SimpleProfileOutboundResponseFromHubToResponseTransformerProvider.class);
bind(SimpleProfileOutboundResponseFromHubToSamlResponseTransformer.class);
bind(ResponseToUnsignedStringTransformer.class);
bind(ResponseAssertionSigner.class);
bind(SimpleProfileTransactionIdaStatusMarshaller.class);
bind(IdpAuthnResponseTranslatorService.class);
bind(InboundResponseFromIdpDataGenerator.class);
bind(MatchingServiceRequestGeneratorService.class);
bind(HubAttributeQueryRequestBuilder.class);
bind(MatchingServiceResponseTranslatorService.class);
bind(RpAuthnRequestTranslatorService.class);
bind(RpAuthnResponseGeneratorService.class);
bind(IdpAuthnRequestGeneratorService.class);
bind(CountrySingleSignOnServiceHelper.class);
bind(IdaAuthnRequestTranslator.class);
bind(EidasAuthnRequestTranslator.class);
bind(MatchingServiceHealthcheckResponseTranslatorService.class);
}
Aggregations