public View process(HttpServletRequest request, HttpServletResponse response) throws ServletException {
try {
String username = request.getParameter("user");
getModel().put("user", PebbleContext.getInstance().getConfiguration().getSecurityRealm().getUser(username));
return new UserView();
} catch (SecurityRealmException e) {
throw new ServletException(e);
}
}