Package org.opends.server.extensions
Class JvmTrustManagerProvider
- java.lang.Object
-
- org.opends.server.api.TrustManagerProvider<TrustManagerProviderCfg>
-
- org.opends.server.extensions.JvmTrustManagerProvider
-
public final class JvmTrustManagerProvider extends TrustManagerProvider<TrustManagerProviderCfg>
Represents aTrustManagerProvider
which use the JVM truststore.
-
-
Constructor Summary
Constructors Constructor Description JvmTrustManagerProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalizeTrustManagerProvider()
Performs any finalization that may be necessary for this trust manager provider.TrustManager[]
getTrustManagers()
Retrieves a set ofTrustManager
objects that may be used for interactions requiring access to a trust manager.void
initializeTrustManagerProvider(TrustManagerProviderCfg configuration)
Initializes this trust manager provider based on the information in the provided configuration entry.-
Methods inherited from class org.opends.server.api.TrustManagerProvider
getServerContext, initializeTrustManagerProvider, isConfigurationAcceptable
-
-
-
-
Method Detail
-
initializeTrustManagerProvider
public void initializeTrustManagerProvider(TrustManagerProviderCfg configuration) throws InitializationException
Description copied from class:TrustManagerProvider
Initializes this trust manager provider based on the information in the provided configuration entry.- Specified by:
initializeTrustManagerProvider
in classTrustManagerProvider<TrustManagerProviderCfg>
- Parameters:
configuration
- The configuration to use for this trust manager provider.- Throws:
InitializationException
- If a problem occurs during initialization that is not related to the server configuration.
-
finalizeTrustManagerProvider
public void finalizeTrustManagerProvider()
Description copied from class:TrustManagerProvider
Performs any finalization that may be necessary for this trust manager provider.- Specified by:
finalizeTrustManagerProvider
in classTrustManagerProvider<TrustManagerProviderCfg>
-
getTrustManagers
public TrustManager[] getTrustManagers()
Description copied from class:TrustManagerProvider
Retrieves a set ofTrustManager
objects that may be used for interactions requiring access to a trust manager.- Specified by:
getTrustManagers
in classTrustManagerProvider<TrustManagerProviderCfg>
- Returns:
- A set of
TrustManager
objects that may be used for interactions requiring access to a trust manager.
-
-