From c1f9b3999a3dc5020b08fa4106c6c3a632183de9 Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Fri, 3 Aug 2012 09:55:53 -0500 Subject: Enabled realm authentication for certificate requests. The realm authentication on certificate request REST services has been enabled. Since now in the CLI the authentication is done using a separate login operation, it is now possible to POST the approval data without the problem related to chunked message. Ticket #300 --- base/ca/shared/conf/acl.ldif | 1 + base/ca/shared/webapps/ca/WEB-INF/auth.properties | 1 + base/ca/shared/webapps/ca/WEB-INF/web.xml | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'base') diff --git a/base/ca/shared/conf/acl.ldif b/base/ca/shared/conf/acl.ldif index 4807a4dcf..c7d71f9e6 100644 --- a/base/ca/shared/conf/acl.ldif +++ b/base/ca/shared/conf/acl.ldif @@ -52,6 +52,7 @@ resourceACLS: certServer.ca.registerUser:read,modify:allow (modify,read) group=" resourceACLS: certServer.clone.configuration:read,modify:allow (modify,read) group="Enterprise CA Administrators" || group="Enterprise KRA Administrators" || group="Enterprise RA Administrators" || group="Enterprise OCSP Administrators" || group="Enterprise TKS Administrators":Only Enterprise Administrators are allowed to clone the configuration. resourceACLS: certServer.admin.ocsp:read,modify:allow (modify,read) group="Enterprise OCSP Administrators":Only Enterprise Administrators are allowed to read or update the OCSP configuration. resourceACLS: certServer.ca.account:login,logout:allow (login,logout) user="anybody":Anybody can login and logout +resourceACLS: certServer.ca.certrequests:execute:allow (execute) group="Certificate Manager Agents":Agents may execute cert request operations resourceACLS: certServer.ca.certs:execute:allow (execute) group="Certificate Manager Agents":Agents may execute cert operations resourceACLS: certServer.ca.groups:execute:allow (execute) group="Administrators":Admins may execute group operations resourceACLS: certServer.ca.users:execute:allow (execute) group="Administrators":Admins may execute user operations diff --git a/base/ca/shared/webapps/ca/WEB-INF/auth.properties b/base/ca/shared/webapps/ca/WEB-INF/auth.properties index 21ec281da..116bc94bf 100644 --- a/base/ca/shared/webapps/ca/WEB-INF/auth.properties +++ b/base/ca/shared/webapps/ca/WEB-INF/auth.properties @@ -8,5 +8,6 @@ /ca/rest/account/logout = certServer.ca.account,logout /ca/rest/admin/users = certServer.ca.users,execute /ca/rest/admin/groups = certServer.ca.groups,execute +/ca/rest/agent/certrequests = certServer.ca.certrequests,execute /ca/rest/agent/certs = certServer.ca.certs,execute /ca/rest/securityDomain/installToken = certServer.securitydomain.domainxml,read diff --git a/base/ca/shared/webapps/ca/WEB-INF/web.xml b/base/ca/shared/webapps/ca/WEB-INF/web.xml index 47ad924c5..286d1e33f 100644 --- a/base/ca/shared/webapps/ca/WEB-INF/web.xml +++ b/base/ca/shared/webapps/ca/WEB-INF/web.xml @@ -2414,7 +2414,7 @@ Agent Services - /rest/agent/certs/* + /rest/agent/* * -- cgit