Class PemTrustManagerProviderCfgDefn
- java.lang.Object
-
- org.forgerock.opendj.config.AbstractManagedObjectDefinition<C,S>
-
- org.forgerock.opendj.config.ManagedObjectDefinition<PemTrustManagerProviderCfgClient,PemTrustManagerProviderCfg>
-
- org.forgerock.opendj.server.config.meta.PemTrustManagerProviderCfgDefn
-
public final class PemTrustManagerProviderCfgDefn extends ManagedObjectDefinition<PemTrustManagerProviderCfgClient,PemTrustManagerProviderCfg>
An interface for querying the Pem Trust Manager Provider managed object definition meta information.The Pem Trust Manager Provider obtains the trusted certificates from PEM files in a file system directory.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PemTrustManagerProviderCfgClient
createClientConfiguration(ManagedObject<? extends PemTrustManagerProviderCfgClient> impl)
Creates a client configuration view of the provided managed object.PemTrustManagerProviderCfg
createServerConfiguration(ServerManagedObject<? extends PemTrustManagerProviderCfg> impl)
Creates a server configuration view of the provided server managed object.BooleanPropertyDefinition
getEnabledPropertyDefinition()
Get the "enabled" property definition.StringPropertyDefinition
getExcludedFilenamePatternPropertyDefinition()
Get the "excluded-filename-pattern" property definition.static PemTrustManagerProviderCfgDefn
getInstance()
Get the Pem Trust Manager Provider configuration definition singleton.ClassPropertyDefinition
getJavaClassPropertyDefinition()
Get the "java-class" property definition.StringPropertyDefinition
getPemDirectoryPropertyDefinition()
Get the "pem-directory" property definition.Class<PemTrustManagerProviderCfg>
getServerConfigurationClass()
Gets the server configuration class instance associated with this managed object definition.-
Methods inherited from class org.forgerock.opendj.config.AbstractManagedObjectDefinition
getAggregationPropertyDefinition, getAggregationPropertyDefinitions, getAllAggregationPropertyDefinitions, getAllChildren, getAllConstraints, getAllPropertyDefinitions, getAllRelationDefinitions, getAllReverseAggregationPropertyDefinitions, getAllReverseRelationDefinitions, getAllTags, getChild, getChildren, getConstraints, getDeprecated, getDescription, getDescription, getName, getParent, getPropertyDefinition, getPropertyDefinitions, getRelationDefinition, getRelationDefinitions, getReverseAggregationPropertyDefinitions, getReverseRelationDefinitions, getSynopsis, getSynopsis, getUserFriendlyName, getUserFriendlyName, getUserFriendlyPluralName, getUserFriendlyPluralName, hasChildren, hasOption, hasTag, initialize, isChildOf, isParentOf, isTop, registerConstraint, registerDeprecated, registerOption, registerPropertyDefinition, registerRelationDefinition, registerTag, resolveManagedObjectDefinition, toString, toString
-
-
-
-
Method Detail
-
getInstance
public static PemTrustManagerProviderCfgDefn getInstance()
Get the Pem Trust Manager Provider configuration definition singleton.- Returns:
- Returns the Pem Trust Manager Provider configuration definition singleton.
-
createClientConfiguration
public PemTrustManagerProviderCfgClient createClientConfiguration(ManagedObject<? extends PemTrustManagerProviderCfgClient> impl)
Description copied from class:ManagedObjectDefinition
Creates a client configuration view of the provided managed object. Modifications made to the underlying managed object will be reflected in the client configuration view and vice versa.- Specified by:
createClientConfiguration
in classManagedObjectDefinition<PemTrustManagerProviderCfgClient,PemTrustManagerProviderCfg>
- Parameters:
impl
- The managed object.- Returns:
- Returns a client configuration view of the provided managed object.
-
createServerConfiguration
public PemTrustManagerProviderCfg createServerConfiguration(ServerManagedObject<? extends PemTrustManagerProviderCfg> impl)
Description copied from class:ManagedObjectDefinition
Creates a server configuration view of the provided server managed object.- Specified by:
createServerConfiguration
in classManagedObjectDefinition<PemTrustManagerProviderCfgClient,PemTrustManagerProviderCfg>
- Parameters:
impl
- The server managed object.- Returns:
- Returns a server configuration view of the provided server managed object.
-
getServerConfigurationClass
public Class<PemTrustManagerProviderCfg> getServerConfigurationClass()
Description copied from class:ManagedObjectDefinition
Gets the server configuration class instance associated with this managed object definition.- Specified by:
getServerConfigurationClass
in classManagedObjectDefinition<PemTrustManagerProviderCfgClient,PemTrustManagerProviderCfg>
- Returns:
- Returns the server configuration class instance associated with this managed object definition.
-
getEnabledPropertyDefinition
public BooleanPropertyDefinition getEnabledPropertyDefinition()
Get the "enabled" property definition.Indicate whether the Pem Trust Manager Provider is enabled for use.
- Returns:
- Returns the "enabled" property definition.
-
getExcludedFilenamePatternPropertyDefinition
public StringPropertyDefinition getExcludedFilenamePatternPropertyDefinition()
Get the "excluded-filename-pattern" property definition.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.
- Returns:
- Returns the "excluded-filename-pattern" property definition.
-
getJavaClassPropertyDefinition
public ClassPropertyDefinition getJavaClassPropertyDefinition()
Get the "java-class" property definition.The fully-qualified name of the Java class that provides the Pem Trust Manager Provider implementation.
- Returns:
- Returns the "java-class" property definition.
-
getPemDirectoryPropertyDefinition
public StringPropertyDefinition getPemDirectoryPropertyDefinition()
Get the "pem-directory" property definition.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 "pem-directory" property definition.
-
-