Class CMSAdminServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.netscape.cms.servlet.admin.AdminServlet
com.netscape.cms.servlet.admin.CMSAdminServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class CMSAdminServlet extends AdminServlet
A class representings an administration servlet. This servlet is responsible to serve Certificate Server level administrative operations such as configuration parameter updates.
Version:
$Revision$, $Date$
See Also:
  • Field Details

    • logger

      public static org.slf4j.Logger logger
  • Constructor Details

    • CMSAdminServlet

      public CMSAdminServlet()
      Constructs CA servlet.
  • Method Details

    • init

      public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
      Initializes this servlet.
      Specified by:
      init in interface javax.servlet.Servlet
      Overrides:
      init in class AdminServlet
      Throws:
      javax.servlet.ServletException
    • getServletInfo

      public String getServletInfo()
      Returns serlvet information.
      Specified by:
      getServletInfo in interface javax.servlet.Servlet
      Overrides:
      getServletInfo in class javax.servlet.GenericServlet
    • service

      public void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
      Serves HTTP request.
      Overrides:
      service in class AdminServlet
      Throws:
      javax.servlet.ServletException
      IOException
    • isSubsystemInstalled

      public boolean isSubsystemInstalled(String subsystem)
    • readEncryption

      public void readEncryption(NameValuePairs params) throws EBaseException
      Throws:
      EBaseException
    • getCertNickname

      public String getCertNickname(String nickName)
    • modifyCACert

      public void modifyCACert(javax.servlet.http.HttpServletRequest request, String value) throws EBaseException
      Throws:
      EBaseException
    • modifyKRACert

      public void modifyKRACert(String nickname) throws EBaseException
      Throws:
      EBaseException
    • modifyServerCert

      public void modifyServerCert(String nickname) throws EBaseException
      Throws:
      EBaseException
    • getCertConfigNickname

      public String getCertConfigNickname(String val) throws EBaseException
      Throws:
      EBaseException
    • modifyRADMCert

      public void modifyRADMCert(String nickName)
    • modifyAgentGatewayCert

      public void modifyAgentGatewayCert(String nickName)
    • modifyCAGatewayCert

      public void modifyCAGatewayCert(String nickname)
    • issueImportCert

      public void issueImportCert(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException, EBaseException
      Issue import certificate

      • signed.audit LOGGING_SIGNED_AUDIT_CONFIG_TRUSTED_PUBLIC_KEY used when "Certificate Setup Wizard" is used to import CA certs into the certificate database
      Throws:
      javax.servlet.ServletException - a servlet error has occurred
      IOException - an input/output error has occurred
      EBaseException - failed to issue an import certificate
    • installCASigningCert

      public void installCASigningCert(String fullName, String nickname, String tokenName) throws EBaseException
      Throws:
      EBaseException
    • installOCSPSigningCert

      public void installOCSPSigningCert(String fullName, String nickname, String tokenName) throws EBaseException
      Throws:
      EBaseException
    • getNickname

      public String getNickname(String certType) throws EBaseException
      Throws:
      EBaseException
    • setRootCertTrust

      public void setRootCertTrust(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException, EBaseException
      Throws:
      javax.servlet.ServletException
      IOException
      EBaseException