Class UseGenericControl

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

public final class UseGenericControl extends Object
An example client application which uses GenericControl to pass the pre-read request control from RFC 4527 - Lightweight Directory Access Protocol (LDAP) Read Entry Controls.
This example takes the following command line parameters:
  <host> <port> <username> <password> <userDN>
 

This example modifies the description attribute of an entry that you specify in the <userDN> command line parameter.
  • Method Details

    • main

      public static void main(String[] args)
      Main method.
      Parameters:
      args - The command line arguments: host, port, username, password, base DN, where the base DN is the root of a naming context.