From 168d95446c3a7ae8643128a51fa86dd326e3a6a8 Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Thu, 6 Sep 2012 16:33:48 -0500 Subject: Enabled authentication for security domain REST interface. The REST interface for security domain has been refactored and configured such that it requires authentication. A CLI has been added to get an installation token. Ticket #309 --- base/ca/shared/webapps/ca/WEB-INF/auth.properties | 1 + base/ca/shared/webapps/ca/WEB-INF/web.xml | 13 +++++++++++++ 2 files changed, 14 insertions(+) (limited to 'base/ca/shared/webapps/ca') diff --git a/base/ca/shared/webapps/ca/WEB-INF/auth.properties b/base/ca/shared/webapps/ca/WEB-INF/auth.properties index ebb1c6c3f..b13795760 100644 --- a/base/ca/shared/webapps/ca/WEB-INF/auth.properties +++ b/base/ca/shared/webapps/ca/WEB-INF/auth.properties @@ -7,3 +7,4 @@ /ca/rest/admin/users = certServer.ca.users,execute /ca/rest/admin/groups = certServer.ca.groups,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 c1b2738c8..9f876e5c2 100644 --- a/base/ca/shared/webapps/ca/WEB-INF/web.xml +++ b/base/ca/shared/webapps/ca/WEB-INF/web.xml @@ -2411,6 +2411,19 @@ + + + Security Domain Services + /rest/securityDomain/installToken + + + * + + + CONFIDENTIAL + + + Certificate Authority -- cgit