Package org.opends.server.crypto
Class CryptoManagerSync
- java.lang.Object
-
- org.opends.server.api.plugin.DirectoryServerPlugin<PluginCfg>
-
- org.opends.server.api.plugin.InternalDirectoryServerPlugin
-
- org.opends.server.crypto.CryptoManagerSync
-
- All Implemented Interfaces:
LocalBackendInitializationListener
public final class CryptoManagerSync extends InternalDirectoryServerPlugin implements LocalBackendInitializationListener
This class defines an object that synchronizes secret-key entries from the admin data branch to the crypto manager secret-key cache.
-
-
Constructor Summary
Constructors Constructor Description CryptoManagerSync(ServerContext serverContext)
Creates a new instance of this trust store synchronization thread.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PluginResult.PostResponse
doPostResponse(PostResponseAddOperation op)
Performs any necessary processing that should be done after the Directory Server has completed all processing for an add operation and has sent the response to the client.PluginResult.PostResponse
doPostResponse(PostResponseModifyOperation op)
Performs any necessary processing that should be done after the Directory Server has completed all processing for a modify operation and has sent the response to the client.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.-
Methods inherited from class org.opends.server.api.plugin.InternalDirectoryServerPlugin
initializePlugin, isConfigurationAcceptable
-
Methods inherited from class org.opends.server.api.plugin.DirectoryServerPlugin
doLDIFImport, doLDIFImportBegin, doLDIFImportEnd, doPostCommit, doPostCommit, doPostCommit, doPostCommit, doPostConnect, doPostDisconnect, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostResponse, doPostResponse, doPostResponse, doPostResponse, doPostResponse, doPostResponse, doPostSynchronization, doPostSynchronization, doPostSynchronization, doPostSynchronization, doPreOperation, doPreOperation, doPreOperation, doPreOperation, doPreOperation, doPreOperation, doPreOperation, doPreOperation, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doPreParse, doShutdown, doStartup, finalizePlugin, getPluginEntryDN, getPluginTypes, getServerContext, initializeInternal, invokeForInternalOperations, processIntermediateResponse, processSearchEntry, processSearchReference, processSubordinateDelete, processSubordinateModifyDN, setInvokeForInternalOperations
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opends.server.api.LocalBackendInitializationListener
performBackendPostFinalizationProcessing, performBackendPreInitializationProcessing
-
-
-
-
Constructor Detail
-
CryptoManagerSync
public CryptoManagerSync(ServerContext serverContext)
Creates a new instance of this trust store synchronization thread.- Parameters:
serverContext
- the server context
-
-
Method Detail
-
performBackendPostInitializationProcessing
public void performBackendPostInitializationProcessing(LocalBackend<?> backend)
Description copied from interface:LocalBackendInitializationListener
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,.- Specified by:
performBackendPostInitializationProcessing
in interfaceLocalBackendInitializationListener
- Parameters:
backend
- The backend that has been initialized and has been put into service.
-
performBackendPreFinalizationProcessing
public void performBackendPreFinalizationProcessing(LocalBackend<?> backend)
Description copied from interface:LocalBackendInitializationListener
Performs any processing that may be required before starting the finalisation cycle, that is invoked before any listener receive the Finalization event.- Specified by:
performBackendPreFinalizationProcessing
in interfaceLocalBackendInitializationListener
- Parameters:
backend
- The backend that is about to be finalized.
-
doPostResponse
public PluginResult.PostResponse doPostResponse(PostResponseAddOperation op)
Description copied from class:DirectoryServerPlugin
Performs any necessary processing that should be done after the Directory Server has completed all processing for an add operation and has sent the response to the client.- Overrides:
doPostResponse
in classDirectoryServerPlugin<PluginCfg>
- Parameters:
op
- The add operation for which processing has completed and the response has been sent to the client.- Returns:
- Information about the result of the plugin processing.
-
doPostResponse
public PluginResult.PostResponse doPostResponse(PostResponseModifyOperation op)
Description copied from class:DirectoryServerPlugin
Performs any necessary processing that should be done after the Directory Server has completed all processing for a modify operation and has sent the response to the client.- Overrides:
doPostResponse
in classDirectoryServerPlugin<PluginCfg>
- Parameters:
op
- The modify operation for which processing has completed and the response has been sent to the client.- Returns:
- Information about the result of the plugin processing.
-
-