From afa68fa3c69d1617a312f1f2f75f7e6c27bb06c7 Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Sat, 19 May 2012 11:12:12 -0500 Subject: Added group REST service. The group REST service is based on UsrGrpAdminServlet. It provides an interface to manage groups and group members. Ticket #160 --- base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'base/common/src/com/netscape/certsrv/usrgrp') diff --git a/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java b/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java index 60a1f70ea..c101187c4 100644 --- a/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java +++ b/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java @@ -204,6 +204,17 @@ public interface IUGSubsystem extends ISubsystem, IUsrGrp { */ public void modifyGroup(IGroup group) throws EUsrGrpException; + /** + * Adds the user with the given id into the given group + * + * @param grp the given group + * @param userid the given user id + * @exception EUsrGrpException thrown when failed to add the user into + * the given group + */ + public void addUserToGroup(IGroup grp, String userid) + throws EUsrGrpException; + /** * Removes the user with the given id from the given group * -- cgit