Class CoreRestDevicesGuiceModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.forgerock.openam.core.rest.devices.CoreRestDevicesGuiceModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class CoreRestDevicesGuiceModule extends com.google.inject.AbstractModuleGuice module for binding the device REST endpoints.- Since:
- 13.5.0
-
-
Constructor Summary
Constructors Constructor Description CoreRestDevicesGuiceModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigure()OathDevicesDaogetOathDevicesDao(AuthenticatorDeviceServiceFactory<AuthenticatorOathService> serviceFactory)PushDevicesDaogetPushDevicesDao(AuthenticatorDeviceServiceFactory<AuthenticatorPushService> serviceFactory)TrustedDevicesDaogetTrustedDevicesDao(AuthenticatorDeviceServiceFactory<TrustedDeviceService> serviceFactory)-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Method Detail
-
configure
protected void configure()
- Overrides:
configurein classcom.google.inject.AbstractModule
-
getTrustedDevicesDao
@Provides @Inject public TrustedDevicesDao getTrustedDevicesDao(@Named("AuthenticatorTrustedServiceFactory") AuthenticatorDeviceServiceFactory<TrustedDeviceService> serviceFactory)
-
getPushDevicesDao
@Provides @Inject public PushDevicesDao getPushDevicesDao(@Named("AuthenticatorPushServiceFactory") AuthenticatorDeviceServiceFactory<AuthenticatorPushService> serviceFactory)
-
getOathDevicesDao
@Provides @Inject public OathDevicesDao getOathDevicesDao(@Named("AuthenticatorOathServiceFactory") AuthenticatorDeviceServiceFactory<AuthenticatorOathService> serviceFactory)
-
-