Digest algorithm used in storing passwords in a non-plaintext format.
Valid values are those accepted for the algorithm name by the
MessageDigest class, or null if no digesting should
be performed.
Check whether the credentials presented by the user match those
retrieved from the directory.
Parameters: password - Stored password Parameters: credentials - Authentication credentials supplied by the user exception: NamingException - if a directory server error occurs
Digest the password using the specified algorithm and
convert the result to a corresponding hexadecimal string.
If exception, the plain credentials string is returned.
Parameters: credentials - Password or other credentials to use inauthenticating this username