summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/group/GroupResource.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/common/src/com/netscape/certsrv/group/GroupResource.java')
-rw-r--r--base/common/src/com/netscape/certsrv/group/GroupResource.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/common/src/com/netscape/certsrv/group/GroupResource.java b/base/common/src/com/netscape/certsrv/group/GroupResource.java
index 5889048ea..e0110e6a8 100644
--- a/base/common/src/com/netscape/certsrv/group/GroupResource.java
+++ b/base/common/src/com/netscape/certsrv/group/GroupResource.java
@@ -34,7 +34,7 @@ import org.jboss.resteasy.annotations.ClientResponseType;
/**
* @author Endi S. Dewata
*/
-@Path("/groups")
+@Path("admin/groups")
public interface GroupResource {
@GET
@@ -51,19 +51,19 @@ public interface GroupResource {
public Response addGroup(GroupData groupData);
@GET
- @Path("/{groupID}")
+ @Path("{groupID}")
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
public GroupData getGroup(@PathParam("groupID") String groupID);
@POST
- @Path("/{groupID}")
+ @Path("{groupID}")
@ClientResponseType(entityType=GroupData.class)
@Consumes({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
public Response modifyGroup(@PathParam("groupID") String groupID, GroupData groupData);
@DELETE
- @Path("/{groupID}")
+ @Path("{groupID}")
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
public void removeGroup(@PathParam("groupID") String groupID);
}