path: root/base/ca/shared/webapps/ca/WEB-INF/
diff options
authorEndi Sukma Dewata <>2013-02-01 13:05:38 -0500
committerEndi Sukma Dewata <>2013-02-02 02:57:55 -0500
commit1465ca82ef3436344992f8a428b5781c437b901a (patch)
tree552409eefbcb078a1a60afe1c3a05658b3d2dbc3 /base/ca/shared/webapps/ca/WEB-INF/
parent4f7fb41fd393f00cf3931672d6f99be764a07f2e (diff)
Added AuthMapping annotation.ticket-474-6
A new AuthMapping annotation has been added to configure the required authentication methods to acces each REST method. The annotation maps each method into a list of authentication methods in For security reason, most REST methods that require authentication have been configured to require client certificate authentication. Authentication using username and password will only be used to get installation token from the security domain. Previously the files were used to store ACL mappings. Now the ACL mappings have been moved into Ticket #477
Diffstat (limited to 'base/ca/shared/webapps/ca/WEB-INF/')
1 files changed, 14 insertions, 0 deletions
diff --git a/base/ca/shared/webapps/ca/WEB-INF/ b/base/ca/shared/webapps/ca/WEB-INF/
new file mode 100644
index 000000000..20f3dd864
--- /dev/null
+++ b/base/ca/shared/webapps/ca/WEB-INF/
@@ -0,0 +1,14 @@
+# Restful API authorization mapping info
+# Format:
+# <mapping name> = <resource ID>,<operation>
+# ex: admin.users =,read
+account.login =,login
+account.logout =,logout
+admin.users =,execute
+admin.groups =,execute
+admin.kraconnector =,modify
+agent.certrequests =,execute
+agent.certs =,execute
+securityDomain.installToken = certServer.securitydomain.domainxml,read