Introduce hierarchies in user management
[lgpl/argeo-commons.git] / org.argeo.util / src / org / argeo / osgi / useradmin / UserDirectory.java
index 7d773a9e72283aed73fabe695314e1cd2da12a4f..5a69f1a169b00177738a65019f0f68d275749fbc 100644 (file)
@@ -5,7 +5,7 @@ import java.util.Optional;
 import org.argeo.osgi.transaction.WorkControl;
 
 /** Information about a user directory. */
-public interface UserDirectory {
+public interface UserDirectory extends HierarchyUnit {
        /**
         * The base of the hierarchy defined by this directory. This could typically be
         * an LDAP base DN.
@@ -31,7 +31,7 @@ public interface UserDirectory {
        String getGroupBase();
 
        Optional<String> getRealm();
-
+       
        @Deprecated
        void setTransactionControl(WorkControl transactionControl);
 }