java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.aoindustries.web.struts.AuthenticatedServlet
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
Ensures the user is logged in. Forwards to "login" if not logged in. Next it checks the user permissions and returns status 403 if they don't have the
proper permissions. Otherwise, it calls the subclass doGet.
- Author:
- AO Industries, Inc.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
doGet
(HttpServletRequest request, HttpServletResponse response) abstract void
doGet
(HttpServletRequest request, HttpServletResponse response, AoservConnector aoConn) Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Constructor Details
-
AuthenticatedServlet
public AuthenticatedServlet()
-
-
Method Details
-
doGet
public final void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException - Overrides:
doGet
in classHttpServlet
- Throws:
IOException
-
doGet
public abstract void doGet(HttpServletRequest request, HttpServletResponse response, AoservConnector aoConn) throws IOException - Throws:
IOException
-