use of uk.gov.ida.common.shared.security.IdGenerator in project verify-hub by alphagov.
the class HubIdentityProviderMetadataDtoToEntityDescriptorTransformerTest method setUp.
@BeforeAll
public static void setUp() {
OpenSamlXmlObjectFactory openSamlXmlObjectFactory = new OpenSamlXmlObjectFactory();
transformer = new HubIdentityProviderMetadataDtoToEntityDescriptorTransformer(openSamlXmlObjectFactory, new KeyDescriptorsUnmarshaller(openSamlXmlObjectFactory), new IdGenerator());
}
use of uk.gov.ida.common.shared.security.IdGenerator 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(SessionStoreStartupTasks.class).asEagerSingleton();
bind(JsonResponseProcessor.class);
bind(HubEventLogger.class);
bind(SessionService.class);
bind(AuthnRequestFromTransactionHandler.class);
bind(SessionRepository.class);
bind(StateControllerFactory.class);
bind(SamlEngineProxy.class);
bind(TransactionsConfigProxy.class);
bind(IdentityProvidersConfigProxy.class);
bind(AuthnResponseFromIdpService.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