public class LDAPTrustManagerProvider extends TrustManagerProvider<org.forgerock.opendj.server.config.server.LdapTrustManagerProviderCfg> implements org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.LdapTrustManagerProviderCfg>
Constructor and Description |
---|
LDAPTrustManagerProvider()
Creates a new LDAP trust manager provider.
|
Modifier and Type | Method and Description |
---|---|
org.forgerock.opendj.config.server.ConfigChangeResult |
applyConfigurationChange(org.forgerock.opendj.server.config.server.LdapTrustManagerProviderCfg cfg) |
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.LdapTrustManagerProviderCfg cfg)
Initializes this trust manager provider based on the information
in the provided configuration entry.
|
boolean |
isConfigurationAcceptable(org.forgerock.opendj.server.config.server.TrustManagerProviderCfg cfg,
List<LocalizableMessage> unacceptableReasons)
Indicates whether the provided configuration is acceptable for
this trust manager provider.
|
boolean |
isConfigurationChangeAcceptable(org.forgerock.opendj.server.config.server.LdapTrustManagerProviderCfg cfg,
List<LocalizableMessage> unacceptableReasons) |
public LDAPTrustManagerProvider()
public void initializeTrustManagerProvider(org.forgerock.opendj.server.config.server.LdapTrustManagerProviderCfg cfg) throws InitializationException
TrustManagerProvider
initializeTrustManagerProvider
in class TrustManagerProvider<org.forgerock.opendj.server.config.server.LdapTrustManagerProviderCfg>
cfg
- The configuration to use for this trust
manager provider.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.LdapTrustManagerProviderCfg>
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.LdapTrustManagerProviderCfg>
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 isConfigurationAcceptable(org.forgerock.opendj.server.config.server.TrustManagerProviderCfg cfg, List<LocalizableMessage> unacceptableReasons)
TrustManagerProvider
isConfigurationAcceptable
in class TrustManagerProvider<org.forgerock.opendj.server.config.server.LdapTrustManagerProviderCfg>
cfg
- 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 boolean isConfigurationChangeAcceptable(org.forgerock.opendj.server.config.server.LdapTrustManagerProviderCfg cfg, List<LocalizableMessage> unacceptableReasons)
isConfigurationChangeAcceptable
in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.LdapTrustManagerProviderCfg>
public org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationChange(org.forgerock.opendj.server.config.server.LdapTrustManagerProviderCfg cfg)
applyConfigurationChange
in interface org.forgerock.opendj.config.server.ConfigurationChangeListener<org.forgerock.opendj.server.config.server.LdapTrustManagerProviderCfg>
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.