LOG.error("Could not list users.", e);
String exceptionMessageChain = Util.getExceptionMessageChain(e);
saveError(request, "availableAccounts.cannotListAccounts", exceptionMessageChain);
users = new User[0];
}
accountsForm.initialize(users, request.getSession());
ActionMessages messages = new ActionMessages();
if (userDatabase.supportsAccountCreation() && !userDatabase.supportsPasswordChange()) {
messages.add(Globals.MESSAGE_KEY, new ActionMessage("availableAccounts.noPasswordChange.text"));
}
if (!userDatabase.supportsAccountCreation() && userDatabase.supportsPasswordChange()) {