public interface FileBasedTrustManagerProviderCfgClient extends TrustManagerProviderCfgClient
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 |
---|---|
ManagedObjectDefinition<? extends FileBasedTrustManagerProviderCfgClient,? extends FileBasedTrustManagerProviderCfg> |
definition()
Get the configuration definition associated with this File Based Trust Manager Provider.
|
ValueOrExpression<String> |
getJavaClass()
Gets the "java-class" property.
|
ValueOrExpression<String> |
getTrustStoreFile()
Gets the "trust-store-file" property.
|
ValueOrExpression<String> |
getTrustStorePin()
Gets the "trust-store-pin" property.
|
ValueOrExpression<String> |
getTrustStoreType()
Gets the "trust-store-type" property.
|
void |
setJavaClass(ValueOrExpression<String> value)
Sets the "java-class" property.
|
void |
setTrustStoreFile(ValueOrExpression<String> value)
Sets the "trust-store-file" property.
|
void |
setTrustStorePin(ValueOrExpression<String> value)
Sets the "trust-store-pin" property.
|
void |
setTrustStoreType(ValueOrExpression<String> value)
Sets the "trust-store-type" property.
|
isEnabled, setEnabled
commit, properties
ManagedObjectDefinition<? extends FileBasedTrustManagerProviderCfgClient,? extends FileBasedTrustManagerProviderCfg> definition()
definition
in interface ConfigurationClient
definition
in interface TrustManagerProviderCfgClient
ValueOrExpression<String> getJavaClass()
The fully-qualified name of the Java class that provides the File Based Trust Manager Provider implementation.
getJavaClass
in interface TrustManagerProviderCfgClient
void setJavaClass(ValueOrExpression<String> value) throws PropertyException
The fully-qualified name of the Java class that provides the File Based Trust Manager Provider implementation.
setJavaClass
in interface TrustManagerProviderCfgClient
value
- The value of the "java-class" property.PropertyException
- If the new value is invalid.ValueOrExpression<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.
void setTrustStoreFile(ValueOrExpression<String> value) throws PropertyException
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.
value
- The value of the "trust-store-file" property.PropertyException
- If the new value is invalid.ValueOrExpression<String> getTrustStorePin()
Specifies the clear-text PIN needed to access the File Based Trust Manager Provider .
void setTrustStorePin(ValueOrExpression<String> value) throws PropertyException
Specifies the clear-text PIN needed to access the File Based Trust Manager Provider .
value
- The value of the "trust-store-pin" property.PropertyException
- If the new value is invalid.ValueOrExpression<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.
void setTrustStoreType(ValueOrExpression<String> value) throws PropertyException
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.
value
- The value of the "trust-store-type" property.PropertyException
- If the new value is invalid.Copyright 2010-2018 ForgeRock AS.