use of uk.gov.ida.hub.policy.factories.SamlAuthnResponseTranslatorDtoFactory in project verify-hub by alphagov.
the class PolicyModule method configure.
@Override
protected void configure() {
bind(RestfulClientConfiguration.class).to(PolicyConfiguration.class).in(Scopes.SINGLETON);
bind(AssertionLifetimeConfiguration.class).to(PolicyConfiguration.class).in(Scopes.SINGLETON);
bind(Client.class).toProvider(DefaultClientProvider.class).in(Scopes.SINGLETON);
bind(KeyStore.class).toProvider(KeyStoreProvider.class).in(Scopes.SINGLETON);
bind(KeyStoreLoader.class).toInstance(new KeyStoreLoader());
bind(InfinispanStartupTasks.class).asEagerSingleton();
bind(JsonResponseProcessor.class);
bind(ObjectMapper.class).toInstance(new ObjectMapper());
bind(EventSinkProxy.class).to(EventSinkHttpProxy.class);
bind(HubEventLogger.class);
bind(SessionService.class);
bind(CountriesService.class);
bind(AuthnRequestFromTransactionHandler.class);
bind(SessionRepository.class);
bind(StateControllerFactory.class);
bind(SamlEngineProxy.class);
bind(TransactionsConfigProxy.class);
bind(IdentityProvidersConfigProxy.class);
bind(AuthnResponseFromIdpService.class);
bind(AuthnResponseFromCountryService.class);
bind(SamlAuthnResponseTranslatorDtoFactory.class).toInstance(new SamlAuthnResponseTranslatorDtoFactory());
bind(IdGenerator.class).toInstance(new IdGenerator());
bind(AttributeQueryService.class);
bind(SamlSoapProxyProxy.class);
bind(ResponseFromHubFactory.class);
bind(AssertionRestrictionsFactory.class);
bind(MatchingServiceConfigProxy.class);
bind(Cycle3Service.class);
bind(MatchingServiceResponseService.class);
bind(ResponseFromIdpHandler.class);
}
Aggregations