Class ListCerts

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

    public class ListCerts
    extends CMSServlet
    Retrieve a paged list of certs matching the specified query
    Version:
    $Revision$, $Date$
    See Also:
    Serialized Form
    • Constructor Detail

      • ListCerts

        public ListCerts()
        Constructs query key servlet.
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig sc)
                  throws javax.servlet.ServletException
        initialize the servlet. This servlet uses the template file "queryCert.template" to render the response
        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
      • buildFilter

        public java.lang.String buildFilter​(javax.servlet.http.HttpServletRequest req)
      • process

        public void process​(CMSRequest cmsReq)
                     throws EBaseException
        Process the HTTP request.
        • http.param maxCount Number of certificates to show
        • http.param queryFilter and ldap style filter specifying the certificates to show
        • http.param querySentinelDown the serial number of the first certificate to show (default decimal, or hex if prefixed with 0x) when paging down
        • http.param querySentinelUp the serial number of the first certificate to show (default decimal, or hex if prefixed with 0x) when paging up
        • http.param direction "up", "down", "begin", or "end"
        Overrides:
        process in class CMSServlet
        Throws:
        EBaseException - if the servlet was unable to satisfactorily process the request