public final class LdifConnectionHandlerCfgDefn extends ManagedObjectDefinition<LdifConnectionHandlerCfgClient,LdifConnectionHandlerCfg>
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.
Modifier and Type | Method and Description |
---|---|
LdifConnectionHandlerCfgClient |
createClientConfiguration(ManagedObject<? extends LdifConnectionHandlerCfgClient> impl)
Creates a client configuration view of the provided managed object.
|
LdifConnectionHandlerCfg |
createServerConfiguration(ServerManagedObject<? extends LdifConnectionHandlerCfg> impl)
Creates a server configuration view of the provided server managed
object.
|
IpAddressMaskPropertyDefinition |
getAllowedClientPropertyDefinition()
Get the "allowed-client" property definition.
|
IpAddressMaskPropertyDefinition |
getDeniedClientPropertyDefinition()
Get the "denied-client" property definition.
|
BooleanPropertyDefinition |
getEnabledPropertyDefinition()
Get the "enabled" property definition.
|
static LdifConnectionHandlerCfgDefn |
getInstance()
Get the LDIF Connection Handler configuration definition
singleton.
|
ClassPropertyDefinition |
getJavaClassPropertyDefinition()
Get the "java-class" property definition.
|
StringPropertyDefinition |
getLdifDirectoryPropertyDefinition()
Get the "ldif-directory" property definition.
|
DurationPropertyDefinition |
getPollIntervalPropertyDefinition()
Get the "poll-interval" property definition.
|
IntegerPropertyDefinition |
getRestrictedClientConnectionLimitPropertyDefinition()
Get the "restricted-client-connection-limit" property definition.
|
IpAddressMaskPropertyDefinition |
getRestrictedClientPropertyDefinition()
Get the "restricted-client" property definition.
|
Class<LdifConnectionHandlerCfg> |
getServerConfigurationClass()
Gets the server configuration class instance associated with this managed
object definition.
|
getAggregationPropertyDefinition, getAggregationPropertyDefinitions, getAllAggregationPropertyDefinitions, getAllChildren, getAllConstraints, getAllPropertyDefinitions, getAllRelationDefinitions, getAllReverseAggregationPropertyDefinitions, getAllReverseRelationDefinitions, getAllTags, getChild, getChildren, getConstraints, getDescription, getDescription, getName, getParent, getPropertyDefinition, getPropertyDefinitions, getRelationDefinition, getRelationDefinitions, getReverseAggregationPropertyDefinitions, getReverseRelationDefinitions, getSynopsis, getSynopsis, getUserFriendlyName, getUserFriendlyName, getUserFriendlyPluralName, getUserFriendlyPluralName, hasChildren, hasOption, hasTag, initialize, isChildOf, isParentOf, isTop, registerConstraint, registerOption, registerPropertyDefinition, registerRelationDefinition, registerTag, resolveManagedObjectDefinition, toString, toString
public static LdifConnectionHandlerCfgDefn getInstance()
public LdifConnectionHandlerCfgClient createClientConfiguration(ManagedObject<? extends LdifConnectionHandlerCfgClient> impl)
ManagedObjectDefinition
createClientConfiguration
in class ManagedObjectDefinition<LdifConnectionHandlerCfgClient,LdifConnectionHandlerCfg>
impl
- The managed object.public LdifConnectionHandlerCfg createServerConfiguration(ServerManagedObject<? extends LdifConnectionHandlerCfg> impl)
ManagedObjectDefinition
createServerConfiguration
in class ManagedObjectDefinition<LdifConnectionHandlerCfgClient,LdifConnectionHandlerCfg>
impl
- The server managed object.public Class<LdifConnectionHandlerCfg> getServerConfigurationClass()
ManagedObjectDefinition
getServerConfigurationClass
in class ManagedObjectDefinition<LdifConnectionHandlerCfgClient,LdifConnectionHandlerCfg>
public IpAddressMaskPropertyDefinition getAllowedClientPropertyDefinition()
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.
public IpAddressMaskPropertyDefinition getDeniedClientPropertyDefinition()
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.
public BooleanPropertyDefinition getEnabledPropertyDefinition()
Indicates whether the LDIF Connection Handler is enabled.
public ClassPropertyDefinition getJavaClassPropertyDefinition()
Specifies the fully-qualified name of the Java class that provides the LDIF Connection Handler implementation.
public StringPropertyDefinition getLdifDirectoryPropertyDefinition()
Specifies the path to the directory in which the LDIF files should be placed.
public DurationPropertyDefinition getPollIntervalPropertyDefinition()
Specifies how frequently the LDIF connection handler should check the LDIF directory to determine whether a new LDIF file has been added.
public IpAddressMaskPropertyDefinition getRestrictedClientPropertyDefinition()
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.
public IntegerPropertyDefinition getRestrictedClientConnectionLimitPropertyDefinition()
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.
Copyright 2010-2022 ForgeRock AS.