Class SrchKey

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

    public class SrchKey
    extends CMSServlet
    Retrieve archived keys matching search criteria
    Version:
    $Revision$, $Date$
    See Also:
    Serialized Form
    • Constructor Detail

      • SrchKey

        public SrchKey()
        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 "srchKey.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 queryFilter ldap-style filter to search with
        • 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