summaryrefslogtreecommitdiffstats
path: root/base/tks/shared/webapps/tks/WEB-INF/auth.properties
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-10-10 04:38:05 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-11-08 00:29:16 -0500
commit7a533307bd03b6aa5853f32654db3bba7a2d26cb (patch)
treee22c98540243eeb3e30d77f027f0e7948b1a3326 /base/tks/shared/webapps/tks/WEB-INF/auth.properties
parente5db248fb62510737b7ec17de0d4b27a2dcf8707 (diff)
downloadpki-7a533307bd03b6aa5853f32654db3bba7a2d26cb.tar.gz
pki-7a533307bd03b6aa5853f32654db3bba7a2d26cb.tar.xz
pki-7a533307bd03b6aa5853f32654db3bba7a2d26cb.zip
Added ACLInterceptor.ticket-400-1
Previously ACL checking was done in PKIRealm by matching the URL. This code has been replaced by ACLInterceptor which will intercept RESTEasy method invocations. This allows more precise mapping of REST methods to ACL entries in acl.ldif. Ticket #287
Diffstat (limited to 'base/tks/shared/webapps/tks/WEB-INF/auth.properties')
-rw-r--r--base/tks/shared/webapps/tks/WEB-INF/auth.properties12
1 files changed, 6 insertions, 6 deletions
diff --git a/base/tks/shared/webapps/tks/WEB-INF/auth.properties b/base/tks/shared/webapps/tks/WEB-INF/auth.properties
index 90897683e..6de7f08e5 100644
--- a/base/tks/shared/webapps/tks/WEB-INF/auth.properties
+++ b/base/tks/shared/webapps/tks/WEB-INF/auth.properties
@@ -1,10 +1,10 @@
# 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
+# <ACL Mapping> = <ACL Resource ID>,<ACL Resource Operation>
+# ex: admin.users = certServer.ca.users,read
-/tks/rest/account/login = certServer.tks.account,login
-/tks/rest/account/logout = certServer.tks.account,logout
-/tks/rest/admin/users = certServer.tks.users,execute
-/tks/rest/admin/groups = certServer.tks.groups,execute
+account.login = certServer.tks.account,login
+account.logout = certServer.tks.account,logout
+admin.users = certServer.tks.users,execute
+admin.groups = certServer.tks.groups,execute