*/
public class CloudsealDemoServlet extends HttpServlet {
@Override
protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
CloudsealPrincipal principal = (CloudsealPrincipal) request.getUserPrincipal();
request.setAttribute("username", principal.getUsername());
request.setAttribute("firstName", principal.getFirstName());
request.setAttribute("lastName", principal.getLastName());
request.setAttribute("email", principal.getEmail());
getServletContext().getRequestDispatcher("/WEB-INF/jsp/demo.jsp").forward(request, response);
}