Package org.forgerock.opendj.examples
Class SearchBind
java.lang.Object
org.forgerock.opendj.examples.SearchBind
An interactive command-line client that performs a search and subsequent
simple bind. The client prompts for email address and for a password, and
then searches based on the email address, to bind as the user with the
password. If successful, the client displays the common name from the user's
entry.
- host - host name of the directory server
- port - port number of the directory server
- base-dn - base DN for the search, e.g. dc=example,dc=com
-
Method Summary
-
Method Details
-
main
Prompt for email and password, search and bind, then display message.- Parameters:
args- The command line arguments: host, port, base-dn.
-