public interface FileBasedTrustManagerProviderCfg extends TrustManagerProviderCfg
The file-based trust manager provider determines whether to trust a presented certificate based on whether that certificate exists in a server trust store file.
Modifier and Type | Method and Description |
---|---|
void |
addFileBasedChangeListener(ConfigurationChangeListener<FileBasedTrustManagerProviderCfg> listener)
Register to be notified when this File Based Trust Manager Provider is changed.
|
Class<? extends FileBasedTrustManagerProviderCfg> |
configurationClass()
Gets the configuration class associated with this File Based Trust Manager Provider.
|
String |
getJavaClass()
Gets the "java-class" property.
|
String |
getTrustStoreFile()
Gets the "trust-store-file" property.
|
String |
getTrustStorePin()
Gets the "trust-store-pin" property.
|
String |
getTrustStorePinEnvironmentVariable()
Gets the "trust-store-pin-environment-variable" property.
|
String |
getTrustStorePinFile()
Gets the "trust-store-pin-file" property.
|
String |
getTrustStorePinProperty()
Gets the "trust-store-pin-property" property.
|
String |
getTrustStoreType()
Gets the "trust-store-type" property.
|
void |
removeFileBasedChangeListener(ConfigurationChangeListener<FileBasedTrustManagerProviderCfg> listener)
Deregister an existing File Based Trust Manager Provider configuration change listener.
|
addChangeListener, isEnabled, removeChangeListener
dn
Class<? extends FileBasedTrustManagerProviderCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface TrustManagerProviderCfg
void addFileBasedChangeListener(ConfigurationChangeListener<FileBasedTrustManagerProviderCfg> listener)
listener
- The File Based Trust Manager Provider configuration change listener.void removeFileBasedChangeListener(ConfigurationChangeListener<FileBasedTrustManagerProviderCfg> listener)
listener
- The File Based Trust Manager Provider configuration change listener.String getJavaClass()
The fully-qualified name of the Java class that provides the File Based Trust Manager Provider implementation.
getJavaClass
in interface TrustManagerProviderCfg
String getTrustStoreFile()
Specifies the path to the file containing the trust information. It can be an absolute path or a path that is relative to the OpenDJ instance root.
Changes to this configuration attribute take effect the next time that the trust manager is accessed.
String getTrustStorePin()
Specifies the clear-text PIN needed to access the File Based Trust Manager Provider .
String getTrustStorePinEnvironmentVariable()
Specifies the name of the environment variable that contains the clear-text PIN needed to access the File Based Trust Manager Provider .
String getTrustStorePinFile()
Specifies the path to the text file whose only contents should be a single line containing the clear-text PIN needed to access the File Based Trust Manager Provider .
String getTrustStorePinProperty()
Specifies the name of the Java property that contains the clear-text PIN needed to access the File Based Trust Manager Provider .
String getTrustStoreType()
Specifies the format for the data in the trust store file.
Valid values always include 'JKS' and 'PKCS12', but different implementations can allow other values as well. If no value is provided, then the JVM default value is used. Changes to this configuration attribute take effect the next time that the trust manager is accessed.
Copyright 2010-2017 ForgeRock AS.