Package net.ltgt.oidc.servlet
Class BackchannelLogoutServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
net.ltgt.oidc.servlet.BackchannelLogoutServlet
- All Implemented Interfaces:
Servlet,ServletConfig,Serializable
Implements the OpenID Connect Back-Channel Logout URI.
This servlet must not be protected by authentication or CSRF protections. A LoggedOutSessionStore instance must have been added as a ServletContext attribute under the name LoggedOutSessionStore.CONTEXT_ATTRIBUTE_NAME.
- See Also:
-
Field Summary
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoPost(HttpServletRequest req, HttpServletResponse resp) voidinit()Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, init, service, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log
-
Constructor Details
-
BackchannelLogoutServlet
public BackchannelLogoutServlet()
-
-
Method Details
-
init
- Overrides:
initin classGenericServlet- Throws:
ServletException
-
doPost
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException - Overrides:
doPostin classHttpServlet- Throws:
ServletExceptionIOException
-