com.mhavila.cookbook.web.security
Class AutenticadoServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.mhavila.cookbook.web.security.AutenticadoServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class AutenticadoServlet
extends HttpServlet

Author:
Márcio d'Ávila (www.mhavila.com)
See Also:
Serialized Form

Constructor Summary
AutenticadoServlet()
           
 
Method Summary
protected  void doGet(HttpServletRequest request, HttpServletResponse response)
          Esta é uma servlet comum, porém no web.xml da sua aplicação web, deve ser configurada a necessidade de autenticação para acessá-la.
static void main(String[] args)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutenticadoServlet

public AutenticadoServlet()
Method Detail

doGet

protected void doGet(HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException,
                     IOException
Esta é uma servlet comum, porém no web.xml da sua aplicação web, deve ser configurada a necessidade de autenticação para acessá-la.

Overrides:
doGet in class HttpServlet
Throws:
ServletException
IOException
See Also:
HttpServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)

main

public static void main(String[] args)