|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.api.TrustManagerProvider<TrustManagerProviderCfg>
org.opends.server.extensions.NullTrustManagerProvider
public class NullTrustManagerProvider
This class provides an implementation of a trust manager provider that does not actually have the ability to provide a trust manager. It will be used when no other trust manager provider has been defined in the server configuration.
Constructor Summary | |
---|---|
NullTrustManagerProvider()
Creates a new instance of this null trust manager provider. |
Method Summary | |
---|---|
void |
finalizeTrustManagerProvider()
Performs any finalization that may be necessary for this trust manager provider. |
javax.net.ssl.TrustManager[] |
getTrustManagers()
Retrieves a TrustManager object 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 |
---|
isConfigurationAcceptable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullTrustManagerProvider()
initializeTrustManagerProvider
method must be called on the
resulting object before it may be used.
Method Detail |
---|
public void initializeTrustManagerProvider(TrustManagerProviderCfg configuration) throws ConfigException, InitializationException
initializeTrustManagerProvider
in class TrustManagerProvider<TrustManagerProviderCfg>
configuration
- The configuration to use for this trust
manager provider.
ConfigException
- If an unrecoverable problem arises in
the process of performing the
initialization as a result of the
server configuration.
InitializationException
- If a problem occurs during
initialization that is not
related to the server
configuration.public void finalizeTrustManagerProvider()
finalizeTrustManagerProvider
in class TrustManagerProvider<TrustManagerProviderCfg>
public javax.net.ssl.TrustManager[] getTrustManagers() throws DirectoryException
TrustManager
object that may be used for
interactions requiring access to a trust manager.
getTrustManagers
in class TrustManagerProvider<TrustManagerProviderCfg>
TrustManager
object that may be used for
interactions requiring access to a trust manager.
DirectoryException
- If a problem occurs while attempting to obtain
the set of trust managers.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |