Package org.opends.server.extensions
Class BlindTrustManagerProvider
- java.lang.Object
-
- org.opends.server.api.TrustManagerProvider<BlindTrustManagerProviderCfg>
-
- org.opends.server.extensions.BlindTrustManagerProvider
-
public final class BlindTrustManagerProvider extends TrustManagerProvider<BlindTrustManagerProviderCfg>
This class provides an implementation of a trust manager provider that will indicate that any certificate presented should be blindly trusted by the Directory Server. This can provide convenience and ease of use, but that added convenience will be at the expense of security and therefore it should not be used in environments in which the clients may not be considered trustworthy.
-
-
Constructor Summary
Constructors Constructor Description BlindTrustManagerProvider()
Creates a new instance of this blind trust manager provider.
-
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(BlindTrustManagerProviderCfg 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(BlindTrustManagerProviderCfg configuration)
Description copied from class:TrustManagerProvider
Initializes this trust manager provider based on the information in the provided configuration entry.- Specified by:
initializeTrustManagerProvider
in classTrustManagerProvider<BlindTrustManagerProviderCfg>
- Parameters:
configuration
- The configuration to use for this trust manager provider.
-
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<BlindTrustManagerProviderCfg>
-
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<BlindTrustManagerProviderCfg>
- Returns:
- A set of
TrustManager
objects that may be used for interactions requiring access to a trust manager.
-
-