Class GetCertFromRequest

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

    public class GetCertFromRequest
    extends CMSServlet
    Gets a issued certificate from a request id.
    Version:
    $Revision$, $Date$
    See Also:
    Serialized Form
    • Field Detail

      • logger

        public static org.slf4j.Logger logger
      • GET_CERT_FROM_REQUEST_TEMPLATE

        protected static final java.lang.String GET_CERT_FROM_REQUEST_TEMPLATE
        See Also:
        Constant Field Values
      • DISPLAY_CERT_FROM_REQUEST_TEMPLATE

        protected static final java.lang.String DISPLAY_CERT_FROM_REQUEST_TEMPLATE
        See Also:
        Constant Field Values
      • mCertFrReqSuccessTemplate

        protected java.lang.String mCertFrReqSuccessTemplate
      • mQueue

        protected com.netscape.certsrv.request.IRequestQueue mQueue
      • mImportCert

        protected boolean mImportCert
    • Constructor Detail

      • GetCertFromRequest

        public GetCertFromRequest()
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig sc)
                  throws javax.servlet.ServletException
        initialize the servlet. This servlet uses the template files "displayCertFromRequest.template" and "ImportCert.template"
        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.
        • http.param requestId The request ID to search on
        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