Interface PemTrustManagerProviderCfgClient
-
- All Superinterfaces:
ConfigurationClient
,TrustManagerProviderCfgClient
public interface PemTrustManagerProviderCfgClient extends TrustManagerProviderCfgClient
A client-side interface for reading and modifying Pem Trust Manager Provider settings.The Pem Trust Manager Provider obtains the trusted certificates from PEM files in a file system directory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedObjectDefinition<? extends PemTrustManagerProviderCfgClient,? extends PemTrustManagerProviderCfg>
definition()
Get the configuration definition associated with this Pem Trust Manager Provider.SortedSet<ValueOrExpression<String>>
getExcludedFilenamePattern()
Gets the "excluded-filename-pattern" property.ValueOrExpression<String>
getJavaClass()
Gets the "java-class" property.ValueOrExpression<String>
getPemDirectory()
Gets the "pem-directory" property.void
setExcludedFilenamePattern(Collection<ValueOrExpression<String>> values)
Sets the "excluded-filename-pattern" property.void
setJavaClass(ValueOrExpression<String> value)
Sets the "java-class" property.void
setPemDirectory(ValueOrExpression<String> value)
Sets the "pem-directory" property.-
Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
Methods inherited from interface org.forgerock.opendj.server.config.client.TrustManagerProviderCfgClient
isEnabled, setEnabled
-
-
-
-
Method Detail
-
definition
ManagedObjectDefinition<? extends PemTrustManagerProviderCfgClient,? extends PemTrustManagerProviderCfg> definition()
Get the configuration definition associated with this Pem Trust Manager Provider.- Specified by:
definition
in interfaceConfigurationClient
- Specified by:
definition
in interfaceTrustManagerProviderCfgClient
- Returns:
- Returns the configuration definition associated with this Pem Trust Manager Provider.
-
getExcludedFilenamePattern
SortedSet<ValueOrExpression<String>> getExcludedFilenamePattern()
Gets the "excluded-filename-pattern" property.The set of file name patterns identifying files to be excluded from the Pem Trust Manager Provider.
Hidden files will always be excluded. File name patterns use the "glob" syntax defined by the Java "java.nio.file.FileSystem.getPathMatcher" method.
Default values:
.*
,*.bak
,*.tmp
,*.md
- Returns:
- Returns the values of the "excluded-filename-pattern" property.
-
setExcludedFilenamePattern
void setExcludedFilenamePattern(Collection<ValueOrExpression<String>> values) throws PropertyException
Sets the "excluded-filename-pattern" property.The set of file name patterns identifying files to be excluded from the Pem Trust Manager Provider.
Hidden files will always be excluded. File name patterns use the "glob" syntax defined by the Java "java.nio.file.FileSystem.getPathMatcher" method.
- Parameters:
values
- The values of the "excluded-filename-pattern" property.- Throws:
PropertyException
- If one or more of the new values are invalid.
-
getJavaClass
@MandatoryProperty ValueOrExpression<String> getJavaClass()
Gets the "java-class" property.The fully-qualified name of the Java class that provides the Pem Trust Manager Provider implementation.
Default value:
org.opends.server.extensions.PemTrustManagerProvider
- Specified by:
getJavaClass
in interfaceTrustManagerProviderCfgClient
- Returns:
- Returns the value of the "java-class" property.
-
setJavaClass
@MandatoryProperty void setJavaClass(ValueOrExpression<String> value) throws PropertyException
Sets the "java-class" property.The fully-qualified name of the Java class that provides the Pem Trust Manager Provider implementation.
- Specified by:
setJavaClass
in interfaceTrustManagerProviderCfgClient
- Parameters:
value
- The value of the "java-class" property.- Throws:
PropertyException
- If the new value is invalid.
-
getPemDirectory
@MandatoryProperty ValueOrExpression<String> getPemDirectory()
Gets the "pem-directory" property.Specifies the path to a directory containing all the certificates to trust. It can be an absolute path or a path that is relative to the OpenDJ instance root. The same directory may also be used to for a PEM key manager provider.
- Returns:
- Returns the value of the "pem-directory" property.
-
setPemDirectory
@MandatoryProperty void setPemDirectory(ValueOrExpression<String> value) throws PropertyException
Sets the "pem-directory" property.Specifies the path to a directory containing all the certificates to trust. It can be an absolute path or a path that is relative to the OpenDJ instance root. The same directory may also be used to for a PEM key manager provider.
- Parameters:
value
- The value of the "pem-directory" property.- Throws:
PropertyException
- If the new value is invalid.
-
-