Class RegistryAdminServlet

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

public class RegistryAdminServlet extends AdminServlet
This implements the administration servlet for registry subsystem.
Version:
$Revision$, $Date$
See Also:
  • Field Details

    • logger

      public static org.slf4j.Logger logger
    • PROP_AUTHORITY

      public static final String PROP_AUTHORITY
      See Also:
    • PROP_PREDICATE

      public static final String PROP_PREDICATE
      See Also:
    • INVALID_POLICY_SCOPE

      public static String INVALID_POLICY_SCOPE
    • INVALID_POLICY_IMPL_OP

      public static String INVALID_POLICY_IMPL_OP
    • NYI

      public static String NYI
    • INVALID_POLICY_IMPL_CONFIG

      public static String INVALID_POLICY_IMPL_CONFIG
    • INVALID_POLICY_INSTANCE_CONFIG

      public static String INVALID_POLICY_INSTANCE_CONFIG
    • MISSING_POLICY_IMPL_ID

      public static String MISSING_POLICY_IMPL_ID
    • MISSING_POLICY_IMPL_CLASS

      public static String MISSING_POLICY_IMPL_CLASS
    • INVALID_POLICY_IMPL_ID

      public static String INVALID_POLICY_IMPL_ID
    • MISSING_POLICY_INST_ID

      public static String MISSING_POLICY_INST_ID
    • INVALID_POLICY_INST_ID

      public static String INVALID_POLICY_INST_ID
    • COMMA

      public static String COMMA
    • MISSING_POLICY_ORDERING

      public static String MISSING_POLICY_ORDERING
  • Constructor Details

    • RegistryAdminServlet

      public RegistryAdminServlet()
      Constructs administration 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 admin request.
      Overrides:
      service in class AdminServlet
      Throws:
      javax.servlet.ServletException
      IOException
    • processImplMgmt

      public void processImplMgmt(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
      Process Policy Implementation Management.
      Throws:
      javax.servlet.ServletException
      IOException
    • addImpl

      public void addImpl(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
      Throws:
      javax.servlet.ServletException
      IOException
    • deleteImpl

      public void deleteImpl(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
      Throws:
      javax.servlet.ServletException
      IOException
    • listImpls

      public void listImpls(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
      Lists all registered profile impementations
      Throws:
      javax.servlet.ServletException
      IOException
    • getSupportedConstraintPolicies

      public void getSupportedConstraintPolicies(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
      Throws:
      javax.servlet.ServletException
      IOException
    • getProfileImplConfig

      public void getProfileImplConfig(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
      Throws:
      javax.servlet.ServletException
      IOException
    • getNonNull

      protected String getNonNull(String s)