]> git.argeo.org Git - lgpl/argeo-commons.git/blob - useradmin/UserDirectory.java
Prepare next development cycle
[lgpl/argeo-commons.git] / useradmin / UserDirectory.java
1 package org.argeo.osgi.useradmin;
2
3 import java.util.Optional;
4
5 import org.argeo.osgi.transaction.WorkControl;
6 import org.osgi.service.useradmin.Role;
7
8 /** Information about a user directory. */
9 public interface UserDirectory extends HierarchyUnit {
10 /**
11 * The base of the hierarchy defined by this directory. This could typically be
12 * an LDAP base DN.
13 */
14 String getBasePath();
15
16 // /** The base DN of all entries in this user directory */
17 // LdapName getBaseDn();
18
19 // /** The related {@link XAResource} */
20 // XAResource getXaResource();
21
22 boolean isReadOnly();
23
24 boolean isDisabled();
25
26 String getUserObjectClass();
27
28 String getUserBase();
29
30 String getGroupObjectClass();
31
32 String getGroupBase();
33
34 Optional<String> getRealm();
35
36 HierarchyUnit getHierarchyUnit(String path);
37
38 HierarchyUnit getHierarchyUnit(Role role);
39
40 @Deprecated
41 void setTransactionControl(WorkControl transactionControl);
42 }