Class ProfileSubmitServlet

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

    public class ProfileSubmitServlet
    extends ProfileServlet
    This servlet submits end-user request into the profile framework.
    Version:
    $Revision$, $Date$
    Author:
    Christina Fu (renewal support)
    See Also:
    Serialized Form
    • Constructor Detail

      • ProfileSubmitServlet

        public ProfileSubmitServlet()
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig sc)
                  throws javax.servlet.ServletException
        initialize the servlet. And instance of this servlet can be set up to always issue certificates against a certain profile by setting the 'profileId' configuration in the servletConfig If not, the user must specify the profileID when submitting the request "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

        (Certificate Request Processed - either an automated "EE" profile based cert acceptance, or an automated "EE" profile based cert rejection)

        • http.param profileId ID of profile to use to process request
        • signed.audit LOGGING_SIGNED_AUDIT_CERT_REQUEST_PROCESSED used when a certificate request has just been through the approval process
        Overrides:
        process in class CMSServlet
        Parameters:
        cmsReq - the object holding the request and response information
        Throws:
        EBaseException - an error has occurred