diff options
author | Ade Lee <alee@redhat.com> | 2012-04-13 13:51:32 -0400 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2012-05-01 17:22:38 -0400 |
commit | 80aff97bedf8c2ee5f58209f36f18ebbc475ccb1 (patch) | |
tree | 7a4e6a79f0e29c0596c81aaef47009d66cb56ccf /base/ocsp/shared/webapps/ocsp | |
parent | dd566ed3c64a69801a9edf3b27f11077aa40ecef (diff) | |
download | pki-80aff97bedf8c2ee5f58209f36f18ebbc475ccb1.tar.gz pki-80aff97bedf8c2ee5f58209f36f18ebbc475ccb1.tar.xz pki-80aff97bedf8c2ee5f58209f36f18ebbc475ccb1.zip |
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
Diffstat (limited to 'base/ocsp/shared/webapps/ocsp')
-rw-r--r-- | base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml b/base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml index b31bd751e..e4ea799eb 100644 --- a/base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml +++ b/base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml @@ -469,6 +469,28 @@ <param-value> ee </param-value> </init-param> </servlet> + <context-param> + <param-name>resteasy.scan</param-name> + <param-value>true</param-value> + </context-param> + + <context-param> + <param-name>resteasy.servlet.mapping.prefix</param-name> + <param-value>/pki</param-value> + </context-param> + + <context-param> + <param-name>resteasy.resource.method-interceptors</param-name> + <param-value> + org.jboss.resteasy.core.ResourceMethodSecurityInterceptor + </param-value> + </context-param> + + <servlet> + <servlet-name>Resteasy</servlet-name> + <servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class> + </servlet> + [PKI_OPEN_SEPARATE_PORTS_WEB_COMMENT] <filter-mapping> <filter-name> AgentRequestFilter </filter-name> @@ -493,6 +515,11 @@ [PKI_CLOSE_SEPARATE_PORTS_WEB_COMMENT] <servlet-mapping> + <servlet-name>Resteasy</servlet-name> + <url-pattern>/pki/*</url-pattern> + </servlet-mapping> + + <servlet-mapping> <servlet-name> ocspacl </servlet-name> <url-pattern> /acl </url-pattern> </servlet-mapping> |