summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/group/GroupMemberCollection.java
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2013-02-11 13:16:44 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2013-02-18 10:57:53 -0500
commitdd01437171044ecb4cdc63998250a4d9f3277119 (patch)
treee0b8bdd9b59f00292adc8587a65935cb7eabd755 /base/common/src/com/netscape/certsrv/group/GroupMemberCollection.java
parent12bd85dc50052107e5dccff56f4110b133aafdc1 (diff)
downloadpki-dd01437171044ecb4cdc63998250a4d9f3277119.tar.gz
pki-dd01437171044ecb4cdc63998250a4d9f3277119.tar.xz
pki-dd01437171044ecb4cdc63998250a4d9f3277119.zip
Added CLI to manage user membership.
New CLI's have been added to search, add, and remove user membership. The group member management code has been refactored into a processor to allow reuse. Ticket #190
Diffstat (limited to 'base/common/src/com/netscape/certsrv/group/GroupMemberCollection.java')
-rw-r--r--base/common/src/com/netscape/certsrv/group/GroupMemberCollection.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/common/src/com/netscape/certsrv/group/GroupMemberCollection.java b/base/common/src/com/netscape/certsrv/group/GroupMemberCollection.java
index d19d939ad..6ec013bca 100644
--- a/base/common/src/com/netscape/certsrv/group/GroupMemberCollection.java
+++ b/base/common/src/com/netscape/certsrv/group/GroupMemberCollection.java
@@ -69,10 +69,12 @@ public class GroupMemberCollection {
GroupMemberData member1 = new GroupMemberData();
member1.setID("User 1");
+ member1.setGroupID("Group 1");
response.addMember(member1);
GroupMemberData member2 = new GroupMemberData();
member2.setID("User 2");
+ member2.setGroupID("Group 1");
response.addMember(member2);
JAXBContext context = JAXBContext.newInstance(GroupMemberCollection.class);