public class OpenidmAccountStatusNotificationHandler extends AccountStatusNotificationHandler<OpenidmAccountStatusNotificationHandlerCfg> implements org.forgerock.opendj.config.server.ConfigurationChangeListener<OpenidmAccountStatusNotificationHandlerCfg>, ServerShutdownListener
The following information is retained for a change
There are two ways the changes can be handled, depending on the 'interval' parameter in the configuration:
The communication to OpenIDM can be done in one of three ways:
| Constructor and Description |
|---|
OpenidmAccountStatusNotificationHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationChange(OpenidmAccountStatusNotificationHandlerCfg configuration) |
String |
getShutdownListenerName()
Returns the listener name.
|
void |
handleStatusNotification(AccountStatusNotification notification) |
void |
initializeStatusNotificationHandler(OpenidmAccountStatusNotificationHandlerCfg configuration) |
boolean |
isConfigurationAcceptable(org.forgerock.opendj.server.config.server.AccountStatusNotificationHandlerCfg configuration,
List<org.forgerock.i18n.LocalizableMessage> unacceptableReasons) |
boolean |
isConfigurationChangeAcceptable(OpenidmAccountStatusNotificationHandlerCfg configuration,
List<org.forgerock.i18n.LocalizableMessage> unacceptableReasons) |
void |
processServerShutdown(org.forgerock.i18n.LocalizableMessage reason)
Processes a server shutdown.
|
finalizeStatusNotificationHandlerpublic OpenidmAccountStatusNotificationHandler()
public void initializeStatusNotificationHandler(OpenidmAccountStatusNotificationHandlerCfg configuration) throws org.forgerock.opendj.config.server.ConfigException, InitializationException
initializeStatusNotificationHandler in class AccountStatusNotificationHandler<OpenidmAccountStatusNotificationHandlerCfg>org.forgerock.opendj.config.server.ConfigExceptionInitializationExceptionpublic boolean isConfigurationAcceptable(org.forgerock.opendj.server.config.server.AccountStatusNotificationHandlerCfg configuration,
List<org.forgerock.i18n.LocalizableMessage> unacceptableReasons)
public boolean isConfigurationChangeAcceptable(OpenidmAccountStatusNotificationHandlerCfg configuration, List<org.forgerock.i18n.LocalizableMessage> unacceptableReasons)
isConfigurationChangeAcceptable in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<OpenidmAccountStatusNotificationHandlerCfg>public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationChange(OpenidmAccountStatusNotificationHandlerCfg configuration)
applyConfigurationChange in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<OpenidmAccountStatusNotificationHandlerCfg>public void handleStatusNotification(AccountStatusNotification notification)
handleStatusNotification in class AccountStatusNotificationHandler<OpenidmAccountStatusNotificationHandlerCfg>public String getShutdownListenerName()
getShutdownListenerName in interface ServerShutdownListenerpublic void processServerShutdown(org.forgerock.i18n.LocalizableMessage reason)
processServerShutdown in interface ServerShutdownListenerreason - The reason message for the shutdown.Copyright © 2017-2020 Wren Security. All Rights Reserved.