* @throws SystemUnavailableException If the SHA1 algorithm is not
* supported by the JVM.
*/
public void setSecret(String person_id, String question_in, String secret_in)
throws SystemUnavailableException, UniFileException, UniSessionException {
LdapShaPasswordEncoder pwd = new LdapShaPasswordEncoder();
String secret_hash = pwd.encodePassword(secret_in.toUpperCase(), null);
local_params.setId(person_id);
local_params.question.set(question_in);
local_params.answer.set(secret_hash);
}