-public interface UserDirectory {
- /**
- * The base of the hierarchy defined by this directory. This could typically be
- * an LDAP base DN.
- */
- String getContext();
-
- String getName();
-
-// /** The base DN of all entries in this user directory */
-// LdapName getBaseDn();
-
-// /** The related {@link XAResource} */
-// XAResource getXaResource();
-
- boolean isReadOnly();
-
- boolean isDisabled();
-
- String getUserObjectClass();
-
-// String getUserBase();
-
- String getGroupObjectClass();
-
-// String getGroupBase();
-
- Optional<String> getRealm();
-
- Iterable<HierarchyUnit> getDirectHierarchyUnits(boolean functionalOnly);
-
- HierarchyUnit getHierarchyUnit(String path);