public class AciListenerManager extends Object implements LocalBackendInitializationListener, AlertGenerator
Constructor and Description |
---|
AciListenerManager(AciList aciList,
org.forgerock.opendj.ldap.Dn cfgDN)
Save the list created by the AciHandler routine.
|
Modifier and Type | Method and Description |
---|---|
void |
finalizeListenerManager()
Deregister from the change notification listener, the backend
initialization listener and the alert generator.
|
LinkedHashMap<String,String> |
getAlerts()
Retrieves information about the set of alerts that this generator
may produce.
|
String |
getClassName()
Retrieves the fully-qualified name of the Java class for this alert
generator implementation.
|
org.forgerock.opendj.ldap.Dn |
getComponentEntryDN()
Retrieves the DN of the configuration entry used to configure the
handler.
|
void |
performBackendPostFinalizationProcessing(LocalBackend<?> backend)
Performs any processing that may be required whenever a backend
is finalized.
|
void |
performBackendPostInitializationProcessing(LocalBackend<?> backend)
Performs any processing that may be required
after the Initialisation cycle has been completed, that is
all listeners have received the initialisation event, and the
backend has been put into service,.
|
void |
performBackendPreFinalizationProcessing(LocalBackend<?> backend)
Performs any processing that may be required before starting
the finalisation cycle, that is invoked before any listener receive
the Finalization event.
|
void |
performBackendPreInitializationProcessing(LocalBackend<?> backend)
Performs any processing that may be required whenever a backend
is initialized for use in the Directory Server.
|
public AciListenerManager(AciList aciList, org.forgerock.opendj.ldap.Dn cfgDN)
aciList
- The list object created and loaded by the handler.cfgDN
- The DN of the access control configuration entry.public void finalizeListenerManager()
public void performBackendPreInitializationProcessing(LocalBackend<?> backend)
In this case, the server will search the backend to find all aci attribute type values that it may contain and add them to the ACI list.
performBackendPreInitializationProcessing
in interface LocalBackendInitializationListener
backend
- The backend that has been initialized and is
about to be put into service.public void performBackendPostFinalizationProcessing(LocalBackend<?> backend)
In this case, the server will remove all aci attribute type values associated with entries in the provided backend.
performBackendPostFinalizationProcessing
in interface LocalBackendInitializationListener
backend
- The backend that has been taken out of service
and is about to be finalized.public void performBackendPostInitializationProcessing(LocalBackend<?> backend)
LocalBackendInitializationListener
performBackendPostInitializationProcessing
in interface LocalBackendInitializationListener
backend
- The backend that has been initialized and has been
put into service.public void performBackendPreFinalizationProcessing(LocalBackend<?> backend)
LocalBackendInitializationListener
performBackendPreFinalizationProcessing
in interface LocalBackendInitializationListener
backend
- The backend that is about to be finalized.public String getClassName()
getClassName
in interface AlertGenerator
public org.forgerock.opendj.ldap.Dn getComponentEntryDN()
getComponentEntryDN
in interface AlertGenerator
public LinkedHashMap<String,String> getAlerts()
getAlerts
in interface AlertGenerator
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.