Package edu.vt.middleware.ldap.servlets
Class CommonServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- edu.vt.middleware.ldap.servlets.CommonServlet
-
- All Implemented Interfaces:
java.io.Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
- Direct Known Subclasses:
LoginServlet,LogoutServlet
public class CommonServlet extends javax.servlet.http.HttpServletCommonServletcontains common code that each servlet uses to initialize itself.- Version:
- $Revision: 1330 $ $Date: 2010-05-24 00:10:53 +0200 (Mon, 24 May 2010) $
- Author:
- Middleware Services
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.commons.logging.LogloggerLog for this class.protected SessionManagersessionManagerUsed to manage a session after login and logout.
-
Constructor Summary
Constructors Constructor Description CommonServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(javax.servlet.ServletConfig config)Initialize this servlet.-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Field Detail
-
logger
protected final org.apache.commons.logging.Log logger
Log for this class.
-
sessionManager
protected SessionManager sessionManager
Used to manage a session after login and logout.
-
-
Method Detail
-
init
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletExceptionInitialize this servlet.- Specified by:
initin interfacejavax.servlet.Servlet- Overrides:
initin classjavax.servlet.GenericServlet- Parameters:
config-ServletConfig- Throws:
javax.servlet.ServletException- if an error occurs
-
-