Class SrchKeyForRecovery

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

    public class SrchKeyForRecovery
    extends CMSServlet
    Retrieve archived keys matching given public key material
    Version:
    $Revision$, $Date$
    See Also:
    Serialized Form
    • Field Detail

      • logger

        public static org.slf4j.Logger logger
    • Constructor Detail

      • SrchKeyForRecovery

        public SrchKeyForRecovery()
        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 "srchKeyForRecovery.template" to process 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
      • getServletInfo

        public java.lang.String getServletInfo()
        Returns serlvet information.
        Specified by:
        getServletInfo in interface javax.servlet.Servlet
        Overrides:
        getServletInfo in class javax.servlet.GenericServlet
      • process

        public void process​(CMSRequest cmsReq)
                     throws EBaseException
        Process the HTTP request.
        • http.param maxCount maximum number of matches to show in result
        • http.param maxResults maximum number of matches to run in ldapsearch
        • http.param publicKeyData public key data to search on
        • http.param querySentinel ID of first request to show
        • http.param timeLimit number of seconds to limit ldap search to
        • http.param realm authorization realm to search
        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