Package org.forgerock.opendj.examples
Class Controls
java.lang.Object
org.forgerock.opendj.examples.Controls
This command-line client demonstrates use of LDAP controls. The client takes
as arguments the host and port for the directory server, and expects to find
the entries and access control instructions as defined in Example.ldif.
This client connects as
cn=Directory Manager with password
password. Not a best practice; in real code use application
specific credentials to connect, and ensure that your application has access
to use the LDAP controls needed.-
Method Summary
-
Method Details
-
main
Connect to the server, and then try to use some LDAP controls.- Parameters:
args- The command line arguments: host, port
-