|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.authorization.dseecompat.AciListenerManager
public class AciListenerManager
The AciListenerManager updates an ACI list after each modification operation. Also, updates ACI list when backends are initialized and finalized.
Constructor Summary | |
---|---|
AciListenerManager(AciList aciList,
DN cfgDN)
Save the list created by the AciHandler routine. |
Method Summary | |
---|---|
void |
finalizeListenerManager()
Deregister from the change notification listener, the backend initialization listener and the alert generator. |
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getAlerts()
Retrieves information about the set of alerts that this generator may produce. |
java.lang.String |
getClassName()
Retrieves the fully-qualified name of the Java class for this alert generator implementation. |
DN |
getComponentEntryDN()
Retrieves the DN of the configuration entry used to configure the handler. |
void |
handleAddOperation(PostResponseAddOperation addOperation,
Entry entry)
An Add operation succeeded. |
void |
handleDeleteOperation(PostResponseDeleteOperation deleteOperation,
Entry entry)
A delete operation succeeded. |
void |
handleModifyDNOperation(PostResponseModifyDNOperation modifyDNOperation,
Entry oldEntry,
Entry newEntry)
A modify DN operation has succeeded. |
void |
handleModifyOperation(PostResponseModifyOperation modOperation,
Entry oldEntry,
Entry newEntry)
A modify operation succeeded. |
void |
logMsgsSetLockDownMode(java.util.LinkedList<Message> failedACIMsgs)
Log the exception messages from the failed ACI decode and then put the server in lockdown mode -- if needed. |
void |
performBackendFinalizationProcessing(Backend backend)
Performs any processing that may be required whenever a backend is finalized. |
void |
performBackendInitializationProcessing(Backend backend)
Performs any processing that may be required whenever a backend is initialized for use in the Directory Server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AciListenerManager(AciList aciList, DN cfgDN)
aciList
- The list object created and loaded by the handler.cfgDN
- The DN of the access control configuration entry.Method Detail |
---|
public void finalizeListenerManager()
public void handleDeleteOperation(PostResponseDeleteOperation deleteOperation, Entry entry)
handleDeleteOperation
in interface ChangeNotificationListener
deleteOperation
- The delete operation.entry
- The entry being deleted.public void handleAddOperation(PostResponseAddOperation addOperation, Entry entry)
handleAddOperation
in interface ChangeNotificationListener
addOperation
- The add operation.entry
- The entry being added.public void handleModifyOperation(PostResponseModifyOperation modOperation, Entry oldEntry, Entry newEntry)
handleModifyOperation
in interface ChangeNotificationListener
modOperation
- the modify operation.oldEntry
- The old entry to examine.newEntry
- The new entry to examine.public void handleModifyDNOperation(PostResponseModifyDNOperation modifyDNOperation, Entry oldEntry, Entry newEntry)
handleModifyDNOperation
in interface ChangeNotificationListener
modifyDNOperation
- The LDAP modify DN operation.oldEntry
- The old entry.newEntry
- The new entry.public void performBackendInitializationProcessing(Backend backend)
performBackendInitializationProcessing
in interface BackendInitializationListener
backend
- The backend that has been initialized and is
about to be put into service.public void performBackendFinalizationProcessing(Backend backend)
performBackendFinalizationProcessing
in interface BackendInitializationListener
backend
- The backend that has been taken out of service
and is about to be finalized.public java.lang.String getClassName()
getClassName
in interface AlertGenerator
public DN getComponentEntryDN()
getComponentEntryDN
in interface AlertGenerator
public java.util.LinkedHashMap<java.lang.String,java.lang.String> getAlerts()
getAlerts
in interface AlertGenerator
public void logMsgsSetLockDownMode(java.util.LinkedList<Message> failedACIMsgs)
failedACIMsgs
- List of exception messages from failed ACI decodes.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |