示例#1
0
文件: GetPk12.java 项目: encukou/pki
  /**
   * 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;
  }
示例#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...");
 }