summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/usrgrp
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-07-30 19:50:23 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-07-31 23:16:34 -0500
commit7d4a40bdd6bf6ef37705be7131fdc179bb5c1e7d (patch)
treebe962766b1f7afa710650322a436251d2ead963d /base/common/src/com/netscape/certsrv/usrgrp
parent0d2ce4c6a9a4c05a0098b13cf6743cfe7f2fc6e5 (diff)
downloadpki-7d4a40bdd6bf6ef37705be7131fdc179bb5c1e7d.tar.gz
pki-7d4a40bdd6bf6ef37705be7131fdc179bb5c1e7d.tar.xz
pki-7d4a40bdd6bf6ef37705be7131fdc179bb5c1e7d.zip
Refactored PKI JNDI realm.
The PKI JNDI realm has been modified to utilize the authentication and authorization subsystems in PKI engine directly. It's no longer necessary to define the LDAP connection settings in Tomcat's configuration files. Ticket #126
Diffstat (limited to 'base/common/src/com/netscape/certsrv/usrgrp')
-rw-r--r--base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java b/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java
index bbd051324..eb7f84ebf 100644
--- a/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java
+++ b/base/common/src/com/netscape/certsrv/usrgrp/IUGSubsystem.java
@@ -125,6 +125,15 @@ public interface IUGSubsystem extends ISubsystem, IUsrGrp {
public Enumeration<IGroup> findGroups(String filter) throws EUsrGrpException;
/**
+ * Finds groups that contain the user.
+ *
+ * @param userDn the user DN
+ * @return a list of groups that contain the given user
+ * @throws EUsrGrpException
+ */
+ public Enumeration<IGroup> findGroupsByUser(String userDn) throws EUsrGrpException;
+
+ /**
* Find a group for the given name
*
* @param name the given name