Package org.forgerock.opendj.examples
Class ShortLife
java.lang.Object
org.forgerock.opendj.examples.ShortLife
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
-
Method Summary
-
Method Details
-
main
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
-