Class ProfileApproveServlet

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

    public class ProfileApproveServlet
    extends ProfileServlet
    Toggle the approval state of a profile
    Version:
    $Revision$, $Date$
    See Also:
    Serialized Form
    • Constructor Detail

      • ProfileApproveServlet

        public ProfileApproveServlet()
    • Method Detail

      • init

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

        public void process​(CMSRequest cmsReq)
                     throws EBaseException
        Process the HTTP request.

        • http.param profileId the id of the profile to change
        • signed.audit LOGGING_SIGNED_AUDIT_CERT_PROFILE_APPROVAL used when an agent approves/disapproves a cert profile set by the administrator for automatic approval
        Overrides:
        process in class CMSServlet
        Parameters:
        cmsReq - the object holding the request and response information
        Throws:
        EBaseException - an error has occurred