summaryrefslogtreecommitdiffstats
path: root/base/ocsp
diff options
context:
space:
mode:
authorAde Lee <alee@redhat.com>2012-08-10 13:56:30 -0400
committerAde Lee <alee@redhat.com>2012-08-10 14:01:33 -0400
commit653a4a6acfbbfbe72b3793ddaba71378fd0f44a5 (patch)
tree2fe35976256dbe3ae9473834b995af547de34ec9 /base/ocsp
parent1a4982f584012a7efd2882dccb68ab93736e99e9 (diff)
downloadpki-653a4a6acfbbfbe72b3793ddaba71378fd0f44a5.tar.gz
pki-653a4a6acfbbfbe72b3793ddaba71378fd0f44a5.tar.xz
pki-653a4a6acfbbfbe72b3793ddaba71378fd0f44a5.zip
Changes to allow installation of ocsp and tks
Diffstat (limited to 'base/ocsp')
-rw-r--r--base/ocsp/shared/webapps/ocsp/WEB-INF/auth.properties8
-rw-r--r--base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml4
2 files changed, 10 insertions, 2 deletions
diff --git a/base/ocsp/shared/webapps/ocsp/WEB-INF/auth.properties b/base/ocsp/shared/webapps/ocsp/WEB-INF/auth.properties
new file mode 100644
index 000000000..3a85e209f
--- /dev/null
+++ b/base/ocsp/shared/webapps/ocsp/WEB-INF/auth.properties
@@ -0,0 +1,8 @@
+# Restful API auth/authz mapping info
+#
+# Format:
+# <Rest API URL> = <ACL Resource ID>,<ACL resource operation>
+# ex: /kra/pki/key/retrieve = certServer.kra.pki.key.retrieve,execute
+
+/ocsp/rest/admin/users = certServer.ocsp.users,execute
+/ocsp/rest/admin/groups = certServer.ocsp.groups,execute
diff --git a/base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml b/base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml
index cb18574b3..b1e625975 100644
--- a/base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml
+++ b/base/ocsp/shared/webapps/ocsp/WEB-INF/web.xml
@@ -410,7 +410,7 @@
<context-param>
<param-name>resteasy.servlet.mapping.prefix</param-name>
- <param-value>/pki</param-value>
+ <param-value>/rest</param-value>
</context-param>
<context-param>
@@ -431,7 +431,7 @@
<servlet-mapping>
<servlet-name>Resteasy</servlet-name>
- <url-pattern>/pki/*</url-pattern>
+ <url-pattern>/rest/*</url-pattern>
</servlet-mapping>
<servlet-mapping>