Class CloneRedirect

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.netscape.cms.servlet.base.CMSServlet
com.netscape.cms.servlet.cert.CloneRedirect
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class CloneRedirect extends CMSServlet
Redirect a request to the Master. This servlet is used in a clone when a requested service (such as CRL) is not available. It redirects the user to the master.
Version:
$Revision$, $Date$
See Also:
  • Field Details

    • logger

      public static org.slf4j.Logger logger
  • Constructor Details

    • CloneRedirect

      public CloneRedirect()
      Constructs CloneRedirect servlet.
  • Method Details

    • 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

      public void process(CMSRequest cmsReq) throws EBaseException
      Serves HTTP request.
      Overrides:
      process in class CMSServlet
      Throws:
      EBaseException - if the servlet was unable to satisfactorily process the request