System.out.println("\nError in reading application passwords") ;
return ;
}
/* Write new key to file */
EncryptedKey encryptedKey = new EncryptedKey(newPassword);
KeyManager.writeKey(encryptedKey);
/* Change admin password */
UserManager.getInstance().deleteUser(AuthConstants.USER_ADMIN);
List roles = new ArrayList(1); // TODO: Shouldn't this be zero ? -rk
UserManager.getInstance().addUser(new User(AuthConstants.USER_ADMIN,