summaryrefslogtreecommitdiffstats
path: root/base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml
diff options
context:
space:
mode:
Diffstat (limited to 'base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml')
-rw-r--r--base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml27
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>