]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - org.argeo.util/src/org/argeo/util/directory/ldap/LdapDirectoryDao.java
Multiple user referentials working with IPA.
[lgpl/argeo-commons.git] / org.argeo.util / src / org / argeo / util / directory / ldap / LdapDirectoryDao.java
index 2739932767419d1d5825d658209cbe4e1be0ceda..c70d8c54f08a32d0e2ebcc8f98115289fdd630a0 100644 (file)
@@ -9,11 +9,16 @@ import javax.naming.ldap.LdapName;
 import org.argeo.util.directory.HierarchyUnit;
 import org.argeo.util.transaction.WorkingCopyProcessor;
 
+/** Low-level access to an LDAP/LDIF directory. */
 public interface LdapDirectoryDao extends WorkingCopyProcessor<LdapEntryWorkingCopy> {
-       Boolean entryExists(LdapName dn);
+       boolean checkConnection();
+
+       boolean entryExists(LdapName dn);
 
        LdapEntry doGetEntry(LdapName name) throws NameNotFoundException;
 
+       Attributes doGetAttributes(LdapName name);
+
        List<LdapEntry> doGetEntries(LdapName searchBase, String filter, boolean deep);
 
        List<LdapName> getDirectGroups(LdapName dn);
@@ -22,9 +27,9 @@ public interface LdapDirectoryDao extends WorkingCopyProcessor<LdapEntryWorkingC
 
        HierarchyUnit doGetHierarchyUnit(LdapName dn);
 
-       LdapEntry newUser(LdapName name, Attributes attrs);
+       LdapEntry newUser(LdapName name);
 
-       LdapEntry newGroup(LdapName name, Attributes attrs);
+       LdapEntry newGroup(LdapName name);
 
        void init();