Class HashEnrollServlet

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

    public class HashEnrollServlet
    extends CMSServlet
    performs face-to-face enrollment.
    Version:
    $Revision$, $Date$
    See Also:
    Serialized Form
    • Constructor Detail

      • HashEnrollServlet

        public HashEnrollServlet()
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig sc)
                  throws javax.servlet.ServletException
        initialize the servlet.
        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
      • process

        protected void process​(CMSRequest cmsReq)
                        throws EBaseException
        Process the HTTP request.
        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
      • fillCertInfoFromAuthToken

        protected void fillCertInfoFromAuthToken​(X509CertInfo certInfo,
                                                 IAuthToken authToken)
                                          throws EBaseException
        fill subject name, validity, extensions from authoken if any, overriding what was in pkcs10. fill subject name, extensions from http input if not authenticated. requests not authenticated will need to be approved by an agent.
        Throws:
        EBaseException
      • renderServerEnrollResult

        protected void renderServerEnrollResult​(CMSRequest cmsReq)
                                         throws java.io.IOException
        Throws:
        java.io.IOException