diff options
author | Ade Lee <alee@redhat.com> | 2013-10-09 23:06:24 -0400 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2013-10-09 23:10:34 -0400 |
commit | 21da33a57e5d4db845227c554f39522c678e2e8b (patch) | |
tree | 3931a52f78ae3961fb0bce98f491539848fcb88b /base/common/src | |
parent | cdbfab49a928b4194fe8f514bc4053e8105dfb78 (diff) | |
download | pki-21da33a57e5d4db845227c554f39522c678e2e8b.tar.gz pki-21da33a57e5d4db845227c554f39522c678e2e8b.tar.xz pki-21da33a57e5d4db845227c554f39522c678e2e8b.zip |
Fix correct ACL for profile REST interface
Diffstat (limited to 'base/common/src')
-rw-r--r-- | base/common/src/com/netscape/certsrv/profile/ProfileResource.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/common/src/com/netscape/certsrv/profile/ProfileResource.java b/base/common/src/com/netscape/certsrv/profile/ProfileResource.java index cc7b8153c..b37b38f32 100644 --- a/base/common/src/com/netscape/certsrv/profile/ProfileResource.java +++ b/base/common/src/com/netscape/certsrv/profile/ProfileResource.java @@ -19,11 +19,13 @@ import com.netscape.certsrv.authentication.AuthMethodMapping; public interface ProfileResource { @GET + @ACLMapping("profile.list") @Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) public ProfileDataInfos listProfiles(); @GET @Path("{id}") + @ACLMapping("profile.read") @Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) public ProfileData retrieveProfile(@PathParam("id") String id); |