1 package org
.argeo
.osgi
.useradmin
;
3 import java
.util
.Optional
;
5 import org
.argeo
.osgi
.transaction
.WorkControl
;
6 import org
.osgi
.service
.useradmin
.Role
;
8 /** Information about a user directory. */
9 public interface UserDirectory
{
11 * The base of the hierarchy defined by this directory. This could typically be
18 // /** The base DN of all entries in this user directory */
19 // LdapName getBaseDn();
21 // /** The related {@link XAResource} */
22 // XAResource getXaResource();
28 String
getUserObjectClass();
32 String
getGroupObjectClass();
34 String
getGroupBase();
36 Optional
<String
> getRealm();
38 Iterable
<HierarchyUnit
> getRootHierarchyUnits();
40 HierarchyUnit
getHierarchyUnit(String path
);
42 HierarchyUnit
getHierarchyUnit(Role role
);
44 String
getRolePath(Role role
);
46 String
getRoleSimpleName(Role role
);
48 Role
getRoleByPath(String path
);
51 void setTransactionControl(WorkControl transactionControl
);