]> 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 81a86fd05f48a8412422e81755d8859725d7c058..c70d8c54f08a32d0e2ebcc8f98115289fdd630a0 100644 (file)
@@ -9,8 +9,11 @@ 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;
 
@@ -24,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();