com.google.appengine.api.users.dev
Class LocalLoginServlet
- java.lang.Object
-
- HttpServlet
-
- com.google.appengine.api.users.dev.LocalLoginServlet
-
public final class LocalLoginServlet extends HttpServlet
LocalLoginServlet
is the servlet responsible for implementing the fake authentication provided by the Development AppServer.This servlet responds to both
GET
andPOST
requests.GET
requests result in a simple HTML form that asks for an email address and whether or not the user is an administrator.POST
requests expect to receive the output from this form, and set a cookie that contains the same data.After the user has been logged in, they are redirected to the URL specified in the
"continue"
request parameter.
-
-
Constructor Summary
Constructors Constructor and Description LocalLoginServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
doGet(HttpServletRequest req, HttpServletResponse resp)
void
doPost(HttpServletRequest req, HttpServletResponse resp)
-