Class IdUViewAuthenticatedServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.io7m.idstore.server.http.IdCommonInstrumentedServlet
com.io7m.idstore.server.user_view.IdUViewAuthenticatedServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
- Direct Known Subclasses:
IdUViewEmailAdd,IdUViewEmailAddRun,IdUViewEmailRemoveRun,IdUViewMain,IdUViewMessage,IdUViewPasswordUpdate,IdUViewPasswordUpdateRun,IdUViewRealnameUpdate,IdUViewRealnameUpdateRun
A servlet that checks that a user is authenticated before delegating
execution to a subclass.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedIdUViewAuthenticatedServlet(com.io7m.repetoir.core.RPServiceDirectoryType inServices) A servlet that checks that a user is authenticated before delegating execution to a subclass. -
Method Summary
Modifier and TypeMethodDescriptionprotected final IdDatabaseTypedatabase()protected final voidservice(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse servletResponse) protected abstract voidserviceAuthenticated(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse servletResponse, IdSessionUser session) protected final com.io7m.repetoir.core.RPServiceDirectoryTypeservices()protected final IdServerStringsstrings()protected final IdUseruser()protected final UUIDuserId()protected final IdSessionUserMethods inherited from class com.io7m.idstore.server.http.IdCommonInstrumentedServlet
serviceMethods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModifiedMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Constructor Details
-
IdUViewAuthenticatedServlet
protected IdUViewAuthenticatedServlet(com.io7m.repetoir.core.RPServiceDirectoryType inServices) A servlet that checks that a user is authenticated before delegating execution to a subclass.- Parameters:
inServices- The service directory
-
-
Method Details
-
userSession
-
user
-
userId
-
strings
-
serviceAuthenticated
protected abstract void serviceAuthenticated(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse servletResponse, IdSessionUser session) throws Exception - Throws:
Exception
-
service
protected final void service(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse servletResponse) throws jakarta.servlet.ServletException, IOException - Overrides:
servicein classjakarta.servlet.http.HttpServlet- Throws:
jakarta.servlet.ServletExceptionIOException
-
database
-
services
protected final com.io7m.repetoir.core.RPServiceDirectoryType services()
-