authenticate(String username, String password) Authenticates as a user and obtains additional user information from the directory.
Parameters: username - the user's login name (not their DN). Parameters: password - the user's password supplied at login.
Authenticates as a user and obtains additional user information from the directory.
Parameters: username - the user's login name (not their DN). Parameters: password - the user's password supplied at login. the details of the successfully authenticated user.