From 80aff97bedf8c2ee5f58209f36f18ebbc475ccb1 Mon Sep 17 00:00:00 2001 From: Ade Lee Date: Fri, 13 Apr 2012 13:51:32 -0400 Subject: RESTful servlet to configure system in a single servlet. Installation code common to the panels and the installation servlet are extracted to a ConfigurationUtils file. The panel code will be cleaned up to use the code in this class in a later commit. Contains restful client and test driver code. The test driver code should be modified and placed in a junit/system test framework. Installation has been tested to work with the following installations: master CA, clone CA, KRA, OCSP, TKS, subordinate CA, CA signed by external CA (parts 1 and 2). Ticket #155 --- base/tks/shared/webapps/tks/WEB-INF/web.xml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'base/tks') diff --git a/base/tks/shared/webapps/tks/WEB-INF/web.xml b/base/tks/shared/webapps/tks/WEB-INF/web.xml index 28276fda0..c3f7593c2 100644 --- a/base/tks/shared/webapps/tks/WEB-INF/web.xml +++ b/base/tks/shared/webapps/tks/WEB-INF/web.xml @@ -338,6 +338,28 @@ ee + + resteasy.scan + true + + + + resteasy.servlet.mapping.prefix + /pki + + + + resteasy.resource.method-interceptors + + org.jboss.resteasy.core.ResourceMethodSecurityInterceptor + + + + + Resteasy + org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher + + [PKI_OPEN_SEPARATE_PORTS_WEB_COMMENT] AgentRequestFilter @@ -360,6 +382,11 @@ [PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT] + + Resteasy + /pki/* + + tksstart /start -- cgit