Class LdifConnectionHandlerCfgDefn
The LDIF Connection Handler is used to process changes in the server using internal operations, where the changes to process are read from an LDIF file.
-
Method Summary
Modifier and TypeMethodDescriptioncreateClientConfiguration
(ManagedObject<? extends LdifConnectionHandlerCfgClient> impl) Creates a client configuration view of the provided managed object.createServerConfiguration
(ServerManagedObject<? extends LdifConnectionHandlerCfg> impl) Creates a server configuration view of the provided server managed object.Get the "allowed-client" property definition.Get the "denied-client" property definition.Get the "enabled" property definition.static LdifConnectionHandlerCfgDefn
Get the LDIF Connection Handler configuration definition singleton.Get the "java-class" property definition.Get the "ldif-directory" property definition.Get the "poll-interval" property definition.Get the "restricted-client-connection-limit" property definition.Get the "restricted-client" property definition.Gets the server configuration class instance associated with this managed object definition.Methods inherited from class org.forgerock.opendj.config.AbstractManagedObjectDefinition
getAggregationPropertyDefinitions, getAllAggregationPropertyDefinitions, getAllChildren, getAllConstraints, getAllPropertyDefinitions, getAllRelationDefinitions, 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 Details
-
getInstance
Get the LDIF Connection Handler configuration definition singleton.- Returns:
- Returns the LDIF Connection Handler configuration definition singleton.
-
createClientConfiguration
public LdifConnectionHandlerCfgClient createClientConfiguration(ManagedObject<? extends LdifConnectionHandlerCfgClient> 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<LdifConnectionHandlerCfgClient,
LdifConnectionHandlerCfg> - Parameters:
impl
- The managed object.- Returns:
- Returns a client configuration view of the provided managed object.
-
createServerConfiguration
public LdifConnectionHandlerCfg createServerConfiguration(ServerManagedObject<? extends LdifConnectionHandlerCfg> impl) Description copied from class:ManagedObjectDefinition
Creates a server configuration view of the provided server managed object.- Specified by:
createServerConfiguration
in classManagedObjectDefinition<LdifConnectionHandlerCfgClient,
LdifConnectionHandlerCfg> - Parameters:
impl
- The server managed object.- Returns:
- Returns a server configuration view of the provided server managed object.
-
getServerConfigurationClass
Description copied from class:ManagedObjectDefinition
Gets the server configuration class instance associated with this managed object definition.- Specified by:
getServerConfigurationClass
in classManagedObjectDefinition<LdifConnectionHandlerCfgClient,
LdifConnectionHandlerCfg> - Returns:
- Returns the server configuration class instance associated with this managed object definition.
-
getAllowedClientPropertyDefinition
Get the "allowed-client" property definition.A set of clients who will be allowed to establish connections to this LDIF Connection Handler.
Valid values include a host name, a fully qualified domain name, a domain name, an IP address, or a subnetwork with subnetwork mask. Specifying a value for this property in a connection handler will override any value set in the global configuration.
- Returns:
- Returns the "allowed-client" property definition.
-
getDeniedClientPropertyDefinition
Get the "denied-client" property definition.A set of clients who are not allowed to establish connections to this LDIF Connection Handler.
Valid values include a host name, a fully qualified domain name, a domain name, an IP address, or a subnetwork with subnetwork mask. If both allowed and denied client masks are defined and a client connection matches one or more masks in both lists, then the connection is denied. If only a denied list is specified, then any client not matching a mask in that list is allowed. Specifying a value for this property in a connection handler will override any value set in the global configuration.
- Returns:
- Returns the "denied-client" property definition.
-
getEnabledPropertyDefinition
Get the "enabled" property definition.Indicates whether the LDIF Connection Handler is enabled.
- Returns:
- Returns the "enabled" property definition.
-
getJavaClassPropertyDefinition
Get the "java-class" property definition.Specifies the fully-qualified name of the Java class that provides the LDIF Connection Handler implementation.
- Returns:
- Returns the "java-class" property definition.
-
getLdifDirectoryPropertyDefinition
Get the "ldif-directory" property definition.Specifies the path to the directory in which the LDIF files should be placed.
- Returns:
- Returns the "ldif-directory" property definition.
-
getPollIntervalPropertyDefinition
Get the "poll-interval" property definition.Specifies how frequently the LDIF connection handler should check the LDIF directory to determine whether a new LDIF file has been added.
- Returns:
- Returns the "poll-interval" property definition.
-
getRestrictedClientPropertyDefinition
Get the "restricted-client" property definition.A set of clients who will be limited to the maximum number of connections specified by the "restricted-client-connection-limit" property.
Valid values include a host name, a fully qualified domain name, a domain name, an IP address, or a subnetwork with subnetwork mask. Specifying a value for this property in a connection handler will override any value set in the global configuration.
- Returns:
- Returns the "restricted-client" property definition.
-
getRestrictedClientConnectionLimitPropertyDefinition
Get the "restricted-client-connection-limit" property definition.Specifies the maximum number of connections a restricted client can open at the same time to this LDIF Connection Handler.
Once Directory Server accepts the specified number of connections from a client specified in restricted-client, any additional connection will be rejected. The number of connections is maintained by IP address. Specifying a value for this property in a connection handler will override any value set in the global configuration.
- Returns:
- Returns the "restricted-client-connection-limit" property definition.
-