Class Controls

java.lang.Object
org.forgerock.opendj.examples.Controls

public final class Controls extends Object
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 Details

    • main

      public static void main(String[] args)
      Connect to the server, and then try to use some LDAP controls.
      Parameters:
      args - The command line arguments: host, port