diff options
author | Endi S. Dewata <edewata@redhat.com> | 2013-11-14 10:32:39 -0500 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2013-11-15 12:40:14 -0500 |
commit | c73890c7c617732a84d009e117ff7aeab0133053 (patch) | |
tree | 8d57b4b4f4a8707efb134f218648d2985ae112e9 /base/common/src/com/netscape/certsrv/profile | |
parent | f93635bd0035f6273c8ca648bf073c650441030d (diff) | |
download | pki-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/profile')
-rw-r--r-- | base/common/src/com/netscape/certsrv/profile/ProfileResource.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/base/common/src/com/netscape/certsrv/profile/ProfileResource.java b/base/common/src/com/netscape/certsrv/profile/ProfileResource.java index 5af61bff7..39ed0e6e2 100644 --- a/base/common/src/com/netscape/certsrv/profile/ProfileResource.java +++ b/base/common/src/com/netscape/certsrv/profile/ProfileResource.java @@ -22,7 +22,7 @@ import com.netscape.certsrv.authentication.AuthMethodMapping; public interface ProfileResource { @GET - @ACLMapping("profile.list") + @ACLMapping("profiles.list") @Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) public ProfileDataInfos listProfiles( @QueryParam("start") Integer start, @@ -30,34 +30,34 @@ public interface ProfileResource { @GET @Path("{id}") - @ACLMapping("profile.read") + @ACLMapping("profiles.read") @Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) public ProfileData retrieveProfile(@PathParam("id") String id); @POST @ClientResponseType(entityType=ProfileData.class) - @ACLMapping("profile.create") + @ACLMapping("profiles.create") @Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) @Consumes({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) public Response createProfile(ProfileData data); @POST @Path("{id}") - @ACLMapping("profile.approve") + @ACLMapping("profiles.approve") @Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) public void modifyProfileState(@PathParam("id") String id, @QueryParam("action") String action); @PUT @Path("{id}") @ClientResponseType(entityType=ProfileData.class) - @ACLMapping("profile.modify") + @ACLMapping("profiles.modify") @Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) @Consumes({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) public Response modifyProfile(@PathParam("id") String id, ProfileData data); @DELETE @Path("{id}") - @ACLMapping("profile.delete") + @ACLMapping("profiles.delete") @Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) public void deleteProfile(@PathParam("id") String id); |