summaryrefslogtreecommitdiffstats
path: root/base/tks
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/tks
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/tks')
-rw-r--r--base/tks/shared/webapps/tks/WEB-INF/auth.properties8
-rw-r--r--base/tks/shared/webapps/tks/WEB-INF/web.xml4
2 files changed, 10 insertions, 2 deletions
diff --git a/base/tks/shared/webapps/tks/WEB-INF/auth.properties b/base/tks/shared/webapps/tks/WEB-INF/auth.properties
new file mode 100644
index 000000000..29dc9f3fc
--- /dev/null
+++ b/base/tks/shared/webapps/tks/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
+
+/tks/rest/admin/users = certServer.tks.users,execute
+/tks/rest/admin/groups = certServer.tks.groups,execute
diff --git a/base/tks/shared/webapps/tks/WEB-INF/web.xml b/base/tks/shared/webapps/tks/WEB-INF/web.xml
index 20874de45..80bb24bc1 100644
--- a/base/tks/shared/webapps/tks/WEB-INF/web.xml
+++ b/base/tks/shared/webapps/tks/WEB-INF/web.xml
@@ -279,7 +279,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>
@@ -300,7 +300,7 @@
<servlet-mapping>
<servlet-name>Resteasy</servlet-name>
- <url-pattern>/pki/*</url-pattern>
+ <url-pattern>/rest/*</url-pattern>
</servlet-mapping>
<servlet-mapping>