summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/key
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2013-11-14 10:32:39 -0500
committerEndi S. Dewata <edewata@redhat.com>2013-11-15 12:40:14 -0500
commitc73890c7c617732a84d009e117ff7aeab0133053 (patch)
tree8d57b4b4f4a8707efb134f218648d2985ae112e9 /base/common/src/com/netscape/certsrv/key
parentf93635bd0035f6273c8ca648bf073c650441030d (diff)
downloadpki-c73890c7c617732a84d009e117ff7aeab0133053.tar.gz
pki-c73890c7c617732a84d009e117ff7aeab0133053.tar.xz
pki-c73890c7c617732a84d009e117ff7aeab0133053.zip
Updated ACL and auth method mapping names.
The ACL and auth method mapping names in some resources have been modified to be more consistent with those in other resources.
Diffstat (limited to 'base/common/src/com/netscape/certsrv/key')
-rw-r--r--base/common/src/com/netscape/certsrv/key/KeyRequestResource.java4
-rw-r--r--base/common/src/com/netscape/certsrv/key/KeyResource.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/base/common/src/com/netscape/certsrv/key/KeyRequestResource.java b/base/common/src/com/netscape/certsrv/key/KeyRequestResource.java
index b7bea7057..9256ac461 100644
--- a/base/common/src/com/netscape/certsrv/key/KeyRequestResource.java
+++ b/base/common/src/com/netscape/certsrv/key/KeyRequestResource.java
@@ -18,8 +18,8 @@ import com.netscape.certsrv.authentication.AuthMethodMapping;
import com.netscape.certsrv.request.RequestId;
@Path("agent/keyrequests")
-@ACLMapping("agent.keyrequests")
-@AuthMethodMapping("agent")
+@ACLMapping("keyrequests")
+@AuthMethodMapping("keyrequests")
public interface KeyRequestResource {
public final String SYMMETRIC_KEY_TYPE = "symmetricKey";
diff --git a/base/common/src/com/netscape/certsrv/key/KeyResource.java b/base/common/src/com/netscape/certsrv/key/KeyResource.java
index a574abb65..c420e0d45 100644
--- a/base/common/src/com/netscape/certsrv/key/KeyResource.java
+++ b/base/common/src/com/netscape/certsrv/key/KeyResource.java
@@ -14,8 +14,8 @@ import com.netscape.certsrv.authentication.AuthMethodMapping;
@Path("agent/keys")
-@ACLMapping("agent.keys")
-@AuthMethodMapping("agent")
+@ACLMapping("keys")
+@AuthMethodMapping("keys")
public interface KeyResource {
@GET