Package org.forgerock.opendj.examples
Class UseSchema
java.lang.Object
org.forgerock.opendj.examples.UseSchema
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:
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 Summary
-
Method Details
-
main
Main method.- Parameters:
args- The command line arguments: host, port, bindDN, bindPassword.
-