public final class ProxyBackendCfgDefn extends ManagedObjectDefinition<ProxyBackendCfgClient,ProxyBackendCfg>
A Proxy Backend forwards LDAP requests to other servers.
Modifier and Type | Class and Description |
---|---|
static class |
ProxyBackendCfgDefn.LoadBalancingAlgorithm
Defines the set of permissable values for the "load-balancing-algorithm" property.
|
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 ProxyBackendCfgDefn getInstance()
public ProxyBackendCfgClient createClientConfiguration(ManagedObject<? extends ProxyBackendCfgClient> impl)
ManagedObjectDefinition
createClientConfiguration
in class ManagedObjectDefinition<ProxyBackendCfgClient,ProxyBackendCfg>
impl
- The managed object.public ProxyBackendCfg createServerConfiguration(ServerManagedObject<? extends ProxyBackendCfg> impl)
ManagedObjectDefinition
createServerConfiguration
in class ManagedObjectDefinition<ProxyBackendCfgClient,ProxyBackendCfg>
impl
- The server managed object.public Class<ProxyBackendCfg> getServerConfigurationClass()
ManagedObjectDefinition
getServerConfigurationClass
in class ManagedObjectDefinition<ProxyBackendCfgClient,ProxyBackendCfg>
public StringPropertyDefinition getBackendIdPropertyDefinition()
Specifies a name to identify the associated backend.
The name must be unique among all backends in the server. The backend ID may not be altered after the backend is created in the server.
public DnPropertyDefinition getBaseDnPropertyDefinition()
Specifies the base DN(s) for the data that the backend handles.
A single backend may be responsible for one or more base DNs. Note that no two backends may have the same base DN although one backend may have a base DN that is below a base DN provided by another backend (similar to the use of sub-suffixes in the Sun Java System Directory Server). If any of the base DNs is subordinate to a base DN for another backend, then all base DNs for that backend must be subordinate to that same base DN. When the "route-all" property is set to "true" then the "base-dn" property is ignored.
public DurationPropertyDefinition getConnectionPoolIdleTimeoutPropertyDefinition()
The time out period after which unused non-core connections will be closed and removed from the connection pool.
public IntegerPropertyDefinition getConnectionPoolMaxSizePropertyDefinition()
Maximum size of the connection pool for each remote server
public IntegerPropertyDefinition getConnectionPoolMinSizePropertyDefinition()
Minimum size of the connection pool for each remote server
public DurationPropertyDefinition getConnectionTimeoutPropertyDefinition()
Specifies the timeout used when connecting to servers, performing SSL negotiation, and for individual search and bind requests.
If the timeout expires then the current operation will be aborted and retried against another LDAP server if one is available.
public DurationPropertyDefinition getDiscoveryIntervalPropertyDefinition()
Interval between two server configuration discovery executions.
Specifies how frequently to read the configuration of the servers in order to discover any configuration change.
public BooleanPropertyDefinition getEnabledPropertyDefinition()
Indicates whether the backend is enabled in the server.
If a backend is not enabled, then its contents are not accessible when processing operations.
public DurationPropertyDefinition getHeartbeatIntervalPropertyDefinition()
Specifies the heartbeat interval that the Proxy Backend will use when communicating with the remote servers.
The Proxy Backend sends a heartbeat request to the servers every heartbeat interval. The heartbeat serves 3 purposes: keepalive, heartbeat and recovery. The hearbeat requests are small requests sent to prevent the connection from appearing idle and being forcefully closed (keepalive). The heartbeat responses inform the Proxy Backend the server is available (heartbeat). If a heartbeat answer is not received within the interval, the Proxy Backend closes the unresponsive connection and connects to another server. After an unresponsive connection is closed, the server is contacted each heartbeat interval to determine whether it is available again (recovery).
public DnPropertyDefinition getHeartbeatSearchRequestBaseDnPropertyDefinition()
Specifies the name of the entry that will be targeted by heartbeat requests.
By default heartbeat requests will attempt to read the remote server's root DSE, which is sufficient to determine whether the remote server is available, but it will not detect whether a particular backend is available. Set the heartbeat request base DN to the base entry of the backend containing application data in order to detect whether a remote server is available and handling requests against the backend.
public ClassPropertyDefinition getJavaClassPropertyDefinition()
Specifies the fully-qualified name of the Java class that provides the backend implementation.
public EnumPropertyDefinition<ProxyBackendCfgDefn.LoadBalancingAlgorithm> getLoadBalancingAlgorithmPropertyDefinition()
How to load balance between servers
public DnPropertyDefinition getPartitionBaseDnPropertyDefinition()
Specifies the base DN(s) which will be used for partitioning entries when using the "affinity" load-balancing algorithm.
This settings only applies for "affinity" load-balancing algorithm and provides consistency for add/delete operations targeting entries within the same sub-tree. Entries immediately subordinate to the base DNs will be considered to be the root of a sub-tree whose entries belong to the same partition. For example, a partition base DN of "ou=people,dc=example,dc=com" would mean that "uid=bjensen,ou=people,dc=example,dc=com" and "deviceid=12345,uid=bjensen,ou=people,dc=example,dc=com" both belong to the same partition, and all operations targeting them would be routed to the same remote server.
public DnPropertyDefinition getProxyUserDnPropertyDefinition()
The bind DN that is used to forward LDAP requests to remote servers.
The proxy connects to the remote server using this bind DN and uses the proxied authorization control to forward requests on behalf of the proxy users. This bind DN must exist on all the remote servers.
public StringPropertyDefinition getProxyUserPasswordPropertyDefinition()
Clear-text password associated with the proxy bind DN.
The proxy password must be the same on all the remote servers.
public BooleanPropertyDefinition getRouteAllPropertyDefinition()
Route requests to all discovered public naming contexts.
When the "route-all" property is set to "true" then the "base-dn" property is ignored.
public AggregationPropertyDefinition<ServiceDiscoveryMechanismCfgClient,ServiceDiscoveryMechanismCfg> getServiceDiscoveryMechanismPropertyDefinition()
Mechanism for finding remote servers to forward LDAP requests to
Copyright 2010-2018 ForgeRock AS.