realm.updateUser(newUserDetails);
if (password1 != null && password1.length() > 0) {
realm.changePassword(username, password1);
}
}
return new RedirectView(blog.getUrl() + "viewUsers.secureaction");
}
getModel().put("validationContext", validationContext);
getModel().put("user", newUserDetails);
getModel().put("newUser", newUser);