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 class CryptoManagerSync extends InternalDirectoryServerPlugin implements LocalBackendInitializationListener
This class defines an object that synchronizes certificates from the admin data branch into the trust store backend, and synchronizes secret-key entries from the admin data branch to the crypto manager secret-key cache.
-
-
Constructor Summary
Constructors Constructor Description CryptoManagerSync()Creates a new instance of this trust store synchronization thread.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PluginResult.PostResponsedoPostResponse(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.PostResponsedoPostResponse(PostResponseDeleteOperation op)Performs any necessary processing that should be done after the Directory Server has completed all processing for a delete operation and has sent the response to the client.PluginResult.PostResponsedoPostResponse(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.voidperformBackendPostFinalizationProcessing(LocalBackend<?> backend)Performs any processing that may be required whenever a backend is finalized.voidperformBackendPostInitializationProcessing(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,.voidperformBackendPreFinalizationProcessing(LocalBackend<?> backend)Performs any processing that may be required before starting the finalisation cycle, that is invoked before any listener receive the Finalization event.voidperformBackendPreInitializationProcessing(LocalBackend<?> backend)Performs any processing that may be required whenever a backend is initialized for use in the Directory Server.-
Methods inherited from class org.opends.server.api.plugin.InternalDirectoryServerPlugin
initializePlugin, isConfigurationAcceptable
-
Methods inherited from class org.opends.server.api.plugin.DirectoryServerPlugin
doLDIFExport, doLDIFImport, doLDIFImportBegin, doLDIFImportEnd, doPostConnect, doPostDisconnect, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, doPostOperation, 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
-
-
-
-
Constructor Detail
-
CryptoManagerSync
public CryptoManagerSync() throws InitializationExceptionCreates a new instance of this trust store synchronization thread.- Throws:
InitializationException- in case an exception occurs during initialization, such as a failure to publish the instance-key-pair public-key-certificate in ADS.
-
-
Method Detail
-
performBackendPreInitializationProcessing
public void performBackendPreInitializationProcessing(LocalBackend<?> backend)
Description copied from interface:LocalBackendInitializationListenerPerforms any processing that may be required whenever a backend is initialized for use in the Directory Server. This method will be invoked after the backend has been initialized but before it has been put into service.- Specified by:
performBackendPreInitializationProcessingin interfaceLocalBackendInitializationListener- Parameters:
backend- The backend that has been initialized and is about to be put into service.
-
performBackendPostFinalizationProcessing
public void performBackendPostFinalizationProcessing(LocalBackend<?> backend)
Description copied from interface:LocalBackendInitializationListenerPerforms any processing that may be required whenever a backend is finalized. This method will be invoked after the backend has been taken out of service but before it has been finalized.- Specified by:
performBackendPostFinalizationProcessingin interfaceLocalBackendInitializationListener- Parameters:
backend- The backend that has been taken out of service and is about to be finalized.
-
performBackendPostInitializationProcessing
public void performBackendPostInitializationProcessing(LocalBackend<?> backend)
Description copied from interface:LocalBackendInitializationListenerPerforms 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:
performBackendPostInitializationProcessingin 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:LocalBackendInitializationListenerPerforms any processing that may be required before starting the finalisation cycle, that is invoked before any listener receive the Finalization event.- Specified by:
performBackendPreFinalizationProcessingin interfaceLocalBackendInitializationListener- Parameters:
backend- The backend that is about to be finalized.
-
doPostResponse
public PluginResult.PostResponse doPostResponse(PostResponseAddOperation op)
Description copied from class:DirectoryServerPluginPerforms 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:
doPostResponsein 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(PostResponseDeleteOperation op)
Description copied from class:DirectoryServerPluginPerforms any necessary processing that should be done after the Directory Server has completed all processing for a delete operation and has sent the response to the client.- Overrides:
doPostResponsein classDirectoryServerPlugin<PluginCfg>- Parameters:
op- The delete 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:DirectoryServerPluginPerforms 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:
doPostResponsein 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.
-
-