Example #1
0
  /**
   * initialize the servlet. This servlet uses the template file "finishRecovery.template" to
   * process the response.
   *
   * @param sc servlet configuration, read from the web.xml file
   */
  public void init(ServletConfig sc) throws ServletException {
    super.init(sc);
    mFormPath = "/agent/" + mAuthority.getId() + "/" + TPL_FILE;
    mService = (com.netscape.certsrv.kra.IKeyService) mAuthority;

    mTemplates.remove(ICMSRequest.SUCCESS);
    if (mOutputTemplatePath != null) mFormPath = mOutputTemplatePath;
  }
Example #2
0
 /**
  * initialize the servlet.
  *
  * @param sc servlet configuration, read from the web.xml file
  */
 public void init(ServletConfig sc) throws ServletException {
   CMS.debug("UpdateDomainXML: initializing...");
   super.init(sc);
   CMS.debug("UpdateDomainXML: done initializing...");
 }