Class UseSchema

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

public final class UseSchema extends Object
This example command-line client application validates an entry against the directory server schema before adding it.
This example takes the following command line parameters:
  <host> <port> <bindDN> <bindPassword>
 
Then it reads an entry to add from System.in. If the entry is valid according to the directory schema, it tries to add the entry to the directory.
  • Method Details

    • main

      public static void main(String[] args)
      Main method.
      Parameters:
      args - The command line arguments: host, port, bindDN, bindPassword.