* @param password String plaintext password
* @returns boolean true if user added succesfully, else false.
*/
public boolean addUser(String userName, String password) {
boolean success;
DefaultJamesUser user = new DefaultJamesUser(userName, "SHA");
user.setPassword(password);
user.initialize();
success = localusers.addUser(user);
if (useIMAPstorage && success) {
JamesHost jh = (JamesHost) imapHost;
if (jh.createPrivateMailAccount(userName)) {
getLogger().info("New MailAccount created for" + userName);