public class Pkcs11TrustManagerProvider extends TrustManagerProvider<org.forgerock.opendj.server.config.server.Pkcs11TrustManagerProviderCfg> implements org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.Pkcs11TrustManagerProviderCfg>
Constructor and Description |
---|
Pkcs11TrustManagerProvider() |
Modifier and Type | Method and Description |
---|---|
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationChange(org.forgerock.opendj.server.config.server.Pkcs11TrustManagerProviderCfg configuration) |
void |
finalizeTrustManagerProvider()
Performs any finalization that may be necessary for this trust manager provider.
|
TrustManager[] |
getTrustManagers()
Retrieves a set of
TrustManager objects that may be used for interactions requiring access to a trust
manager. |
void |
initializeTrustManagerProvider(org.forgerock.opendj.server.config.server.Pkcs11TrustManagerProviderCfg configuration)
Initializes this trust manager provider based on the information in the provided configuration entry.
|
boolean |
isConfigurationChangeAcceptable(org.forgerock.opendj.server.config.server.Pkcs11TrustManagerProviderCfg configuration,
List<LocalizableMessage> unacceptableReasons) |
isConfigurationAcceptable
public void initializeTrustManagerProvider(org.forgerock.opendj.server.config.server.Pkcs11TrustManagerProviderCfg configuration) throws org.forgerock.opendj.config.server.ConfigException, InitializationException
TrustManagerProvider
initializeTrustManagerProvider
in class TrustManagerProvider<org.forgerock.opendj.server.config.server.Pkcs11TrustManagerProviderCfg>
configuration
- The configuration to use for this trust manager provider.org.forgerock.opendj.config.server.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()
TrustManagerProvider
finalizeTrustManagerProvider
in class TrustManagerProvider<org.forgerock.opendj.server.config.server.Pkcs11TrustManagerProviderCfg>
public TrustManager[] getTrustManagers() throws DirectoryException
TrustManagerProvider
TrustManager
objects that may be used for interactions requiring access to a trust
manager.getTrustManagers
in class TrustManagerProvider<org.forgerock.opendj.server.config.server.Pkcs11TrustManagerProviderCfg>
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.public boolean isConfigurationChangeAcceptable(org.forgerock.opendj.server.config.server.Pkcs11TrustManagerProviderCfg configuration, List<LocalizableMessage> unacceptableReasons)
isConfigurationChangeAcceptable
in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.Pkcs11TrustManagerProviderCfg>
public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationChange(org.forgerock.opendj.server.config.server.Pkcs11TrustManagerProviderCfg configuration)
applyConfigurationChange
in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.Pkcs11TrustManagerProviderCfg>
Copyright © 2010–2017 ForgeRock AS. All rights reserved.