Package org.forgerock.opendj.examples
Class Proxy
java.lang.Object
org.forgerock.opendj.examples.Proxy
An LDAP load balancing proxy which forwards requests to one or more remote
Directory Servers. This is implementation is very simple and is only intended
as an example:
- It does not support SSL connections
- It does not support StartTLS
- It does not support Abandon or Cancel requests
- Very basic authentication and authorization support.
[--load-balancer <mode>] <listenAddress> <listenPort> <proxyDN> <proxyPassword>
<remoteAddress1> <remotePort1> [<remoteAddress2> <remotePort2> ...]
Where <mode> is one of "least-requests", "fail-over", "affinity", or "distribution". The default is
least-requests.-
Method Summary
-
Method Details
-
main
Main method.- Parameters:
args- The command line arguments: [--load-balancer] listen address, listen port, remote address1, remote port1, remote address2, remote port2, ...
-