]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - org.argeo.util/src/org/argeo/util/directory/Directory.java
Centralise HTTP headers
[lgpl/argeo-commons.git] / org.argeo.util / src / org / argeo / util / directory / Directory.java
index b3dfa8b05cc8ae208ec65508eec06f42f5453b25..351a608bc53c9c3dbfdb81910c858a54b1a3e56e 100644 (file)
@@ -1,10 +1,11 @@
 package org.argeo.util.directory;
 
+import java.util.Dictionary;
 import java.util.Optional;
 
 import org.argeo.util.transaction.WorkControl;
 
-public interface Directory {
+public interface Directory extends HierarchyUnit {
        /**
         * The base of the hierarchy defined by this directory. This could typically be
         * an LDAP base DN.
@@ -17,14 +18,15 @@ public interface Directory {
 
        boolean isDisabled();
 
-       String getUserObjectClass();
-
-       String getGroupObjectClass();
-
        Optional<String> getRealm();
 
        void setTransactionControl(WorkControl transactionControl);
 
+       /*
+        * METADATA
+        */
+       public Dictionary<String, Object> getProperties();
+
        /*
         * HIERARCHY
         */