Class ShortLife

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

public final class ShortLife extends Object
A command-line client that creates, updates, renames, and deletes a short-lived entry in order to demonstrate LDAP write operations using the synchronous API. 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.
  • host - host name of the directory server
  • port - port number of the directory server
All arguments are required.
  • Method Details

    • main

      public static void main(String[] args)
      Connect to directory server as a user with rights to add, modify, and delete entries, and then proceed to carry out the operations.
      Parameters:
      args - The command line arguments: host, port