| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.jaffa.security.CheckPolicy
This servlet can be used on start-up to make ssure there are no rogue entries in the components and roles files.
| Constructor Summary | |
| CheckPolicy() | |
| Method Summary | |
|  void | destroy()Destroys the servlet. | 
| protected  void | doGet(HttpServletRequest request,
           HttpServletResponse response)Handles the HTTP GETmethod. | 
| protected  void | doPost(HttpServletRequest request,
             HttpServletResponse response)Handles the HTTP POSTmethod. | 
|  String | getServletInfo()Returns a short description of the servlet. | 
|  void | init(ServletConfig config)Initializes the servlet. | 
| static void | main(String[] args) | 
| protected  void | processRequest(HttpServletRequest request,
                             HttpServletResponse response)Processes requests for both HTTP GETandPOSTmethods. | 
| Methods inherited from class javax.servlet.http.HttpServlet | 
| doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service | 
| Methods inherited from class javax.servlet.GenericServlet | 
| getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public CheckPolicy()
| Method Detail | 
public void init(ServletConfig config)
          throws ServletException
ServletExceptionpublic void destroy()
protected void processRequest(HttpServletRequest request,
                              HttpServletResponse response)
                       throws ServletException,
                              IOException
GET and POST methods.
request - servlet requestresponse - servlet response
ServletException
IOException
protected void doGet(HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException,
                     IOException
GET method.
request - servlet requestresponse - servlet response
ServletException
IOException
protected void doPost(HttpServletRequest request,
                      HttpServletResponse response)
               throws ServletException,
                      IOException
POST method.
request - servlet requestresponse - servlet response
ServletException
IOExceptionpublic String getServletInfo()
public static void main(String[] args)
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||