break;
case SESSIONS:
attributes.put("sessions", new SessionsBean(realm, sessions));
break;
case PASSWORD:
attributes.put("password", new PasswordBean(passwordSet));
}
try {
String result = freeMarker.processTemplate(attributes, Templates.getTemplate(page), theme);
Response.ResponseBuilder builder = Response.status(status).type(MediaType.TEXT_HTML).entity(result);