Class AuthenticatorPushServiceFactory
- java.lang.Object
-
- org.forgerock.openam.core.rest.devices.services.push.AuthenticatorPushServiceFactory
-
- All Implemented Interfaces:
DeviceServiceFactory<AuthenticatorPushService>
@Singleton public class AuthenticatorPushServiceFactory extends Object implements DeviceServiceFactory<AuthenticatorPushService>
Produces AuthenticatorPushServices for a specific realm.
-
-
Field Summary
Fields Modifier and Type Field Description static StringFACTORY_NAMEName of this factory for Guice purposes.
-
Constructor Summary
Constructors Constructor Description AuthenticatorPushServiceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticatorPushServicecreate(ServiceConfigManager serviceConfigManager, String realm)Creates a new DeviceService for the current realm.
-
-
-
Field Detail
-
FACTORY_NAME
public static final String FACTORY_NAME
Name of this factory for Guice purposes.- See Also:
- Constant Field Values
-
-
Method Detail
-
create
public AuthenticatorPushService create(ServiceConfigManager serviceConfigManager, String realm) throws SMSException, SSOException
Description copied from interface:DeviceServiceFactoryCreates a new DeviceService for the current realm.- Specified by:
createin interfaceDeviceServiceFactory<AuthenticatorPushService>realm- The realm for which to grab the OathService.- Throws:
SMSException- If we cannot connect to/read from SMS.SSOException- If we cannot utilise the Admin token for access to the service.
-
-