diff options
author | Endi S. Dewata <edewata@redhat.com> | 2014-05-05 16:05:28 -0400 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2014-05-08 22:59:31 -0400 |
commit | 4448fb5f16af237f6e9a04d545f515d7726c4618 (patch) | |
tree | 30dbc6b4c363f002bace25acfa862da13bc313ce /base/common/src/com/netscape/certsrv/usrgrp | |
parent | 47724f3c91e124f1856e4b4f3bbd0068d6ca6ff6 (diff) | |
download | pki-4448fb5f16af237f6e9a04d545f515d7726c4618.tar.gz pki-4448fb5f16af237f6e9a04d545f515d7726c4618.tar.xz pki-4448fb5f16af237f6e9a04d545f515d7726c4618.zip |
Added filter to UserService.findUserMemberships().
The UserService.findUserMemberships() has been modified to accept
an additional parameter to filter the groups in which the user
is a member. The CLI has been updated accordingly.
Ticket #920
Diffstat (limited to 'base/common/src/com/netscape/certsrv/usrgrp')
-rw-r--r-- | base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java b/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java index cee882a65..4704f1d93 100644 --- a/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java +++ b/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java @@ -132,10 +132,11 @@ public interface IUGSubsystem extends ISubsystem, IUsrGrp { * Finds groups that contain the user. * * @param userDn the user DN + * @param filter the search filter * @return a list of groups that contain the given user * @throws EUsrGrpException */ - public Enumeration<IGroup> findGroupsByUser(String userDn) throws EUsrGrpException; + public Enumeration<IGroup> findGroupsByUser(String userDn, String filter) throws EUsrGrpException; /** * Find a group for the given name |