protected void serveAuthorised() { userinfoServlet.setResourceName("userinfo.json"); userinfoServlet.setReturnCode(HttpServletResponse.SC_OK); }
protected void serveUnauthorised() { userinfoServlet.setResourceName("unauthorised.json"); userinfoServlet.setReturnCode(HttpServletResponse.SC_UNAUTHORIZED); }
protected void googleReturnsUserinfo() { userinfoServlet.setResourceName("userinfo.json"); userinfoServlet.setReturnCode(HttpServletResponse.SC_OK); }