public interface PluginTools
com.sun.identity.sm.ServiceSchemaManager
Modifier and Type | Method and Description |
---|---|
void |
addAuthModule(Class<?> moduleClass,
InputStream inputStream)
Add a new Auth Module - also registers the SMS service.
|
void |
addSmsService(InputStream inputStream)
Add a new SMS service.
|
void |
registerAuthNode(Class<?> nodeClass)
Installs and registers an authentication node for execution by trees.
|
void addSmsService(InputStream inputStream) throws PluginException
inputStream
- A stream from which the service schema XML can be read.PluginException
- If the service cannot be registered.void addAuthModule(Class<?> moduleClass, InputStream inputStream) throws PluginException
moduleClass
- The com.sun.identity.authentication.spi.AMLoginModule
class.inputStream
- A stream from which the service schema XML can be read.PluginException
- If either the auth module or the underlying service cannot be registered.void registerAuthNode(Class<?> nodeClass) throws PluginException
This method should be called both on plugin installation and on plugin startup.
nodeClass
- The org.forgerock.openam.auth.node.api.Node
class.PluginException
- If the auth node does not implement the Node
interface, or cannot be registered
for some other reason.Copyright © 2010-2020, ForgeRock All Rights Reserved.