The GetPasswordHashAlgorithm
Web service calls the getPasswordHashAlgorithm
method in the underlying atg.userprofiling.ProfileServices
implementation. It is assumed that you call canClientEncryptPasswords()
before calling this method, or that you know that this application can encrypt passwords.
The getPasswordHashAlgorithm
method acts as follows:
If the
PasswordHasher
used for this application is not supported, thegetPasswordHashAlgorithm
method throws aServletException
. (Note that only MD5 is currently supported.)Returns the password-hashing algorithm used for this application. Each password hasher has a unique way of encrypting passwords, so clients that attempt password encryption need to know the procedure that their password hasher uses.