Class RevocationServlet

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class RevocationServlet
    extends CMSServlet
    Perform the first step in revoking a certificate
    Version:
    $Revision$, $Date$
    See Also:
    Serialized Form
    • Constructor Detail

      • RevocationServlet

        public RevocationServlet()
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig sc)
                  throws javax.servlet.ServletException
        initialize the servlet. This servlet uses the template file "reasonToRevoke.template" to render the result.
        Specified by:
        init in interface javax.servlet.Servlet
        Overrides:
        init in class CMSServlet
        Parameters:
        sc - servlet configuration, read from the web.xml file
        Throws:
        javax.servlet.ServletException
      • process

        protected void process​(CMSRequest cmsReq)
                        throws EBaseException
        Process the HTTP request. Note that this servlet does not actually perform the certificate revocation. This is the first step in the multi-step revocation process. (the next step is in the ReasonToRevoke servlet.
        Overrides:
        process in class CMSServlet
        Parameters:
        cmsReq - the object holding the request and response information
        Throws:
        EBaseException - if the servlet was unable to satisfactorily process the request