LocalLogoutServlet
Stay organized with collections
Save and categorize content based on your preferences.
- java.lang.Object
-
- HttpServlet
-
- com.google.appengine.api.users.dev.LocalLogoutServlet
-
public final class LocalLogoutServlet
extends HttpServlet
LocalLogoutServlet
is the servlet responsible for logging
the current user out of the fake authentication provided by the
Development AppServer. It does this by removing a cookie used to
store the authentication data.
After the user has been logged out, they are redirected to the URL
specified in the "continue"
request parameter.
-
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
LocalLogoutServlet
public LocalLogoutServlet()
-
Method Detail
-
doGet
public void doGet(HttpServletRequest req,
HttpServletResponse resp)
throws java.io.IOException
- Throws:
java.io.IOException
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-02-15 UTC."],[[["`LocalLogoutServlet` handles user logout from the Development AppServer's fake authentication system."],["The logout process involves removing a cookie that stores the user's authentication data."],["After logout, the user is redirected to the URL specified by the `\"continue\"` request parameter."],["The `doGet` method within `LocalLogoutServlet` is used to process the logout request, potentially throwing an `IOException`."],["The LocalLogoutServlet constructor `LocalLogoutServlet()` is responsible for the creation of the servlet object."]]],[]]