Package org.forgerock.opendj.examples
Class SearchBindAsync
java.lang.Object
org.forgerock.opendj.examples.SearchBindAsync
An interactive command-line client that performs a search and simple bind
using the asynchronous APIs.
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.
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
Prompts for email and password, search and bind, then display message.- Parameters:
args- The command line arguments: host, port, base-dn.
-