|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.api.TrustManagerProvider<T>
T
- The type of trust manager provider configuration
handled by this trust manager provider implementation.@PublicAPI(stability=VOLATILE, mayInstantiate=false, mayExtend=true, mayInvoke=true) public abstract class TrustManagerProvider<T extends TrustManagerProviderCfg>
This class defines an API that may be used to obtain a set of
javax.net.ssl.TrustManager
objects for use when performing
SSL/StartTLS negotiation.
Constructor Summary | |
---|---|
TrustManagerProvider()
|
Method Summary | |
---|---|
abstract void |
finalizeTrustManagerProvider()
Performs any finalization that may be necessary for this trust manager provider. |
abstract javax.net.ssl.TrustManager[] |
getTrustManagers()
Retrieves a set of TrustManager objects that may be used
for interactions requiring access to a trust manager. |
abstract void |
initializeTrustManagerProvider(T configuration)
Initializes this trust manager provider based on the information in the provided configuration entry. |
boolean |
isConfigurationAcceptable(TrustManagerProviderCfg configuration,
java.util.List<Message> unacceptableReasons)
Indicates whether the provided configuration is acceptable for this trust manager provider. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TrustManagerProvider()
Method Detail |
---|
public abstract void initializeTrustManagerProvider(T configuration) throws ConfigException, InitializationException
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 boolean isConfigurationAcceptable(TrustManagerProviderCfg configuration, java.util.List<Message> unacceptableReasons)
configuration
- The trust manager provider
configuration for which to make the
determination.unacceptableReasons
- A list that may be used to hold the
reasons that the provided
configuration is not acceptable.
true
if the provided configuration is acceptable
for this trust manager provider, or false
if
not.public abstract void finalizeTrustManagerProvider()
public abstract javax.net.ssl.TrustManager[] getTrustManagers() throws DirectoryException
TrustManager
objects that may be used
for interactions requiring access to a trust manager.
TrustManager
objects 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 |