Package | Description |
---|---|
org.osgi.service.useradmin |
Modifier and Type | Interface | Description |
---|---|---|
interface |
Group |
A named grouping of roles (
Role objects). |
interface |
User |
A
User role managed by a User Admin service. |
Modifier and Type | Method | Description |
---|---|---|
Role |
UserAdmin.createRole(java.lang.String name,
int type) |
Creates a
Role object with the given name and of the given
type. |
Role[] |
Group.getMembers() |
Gets the basic members of this
Group object. |
Role[] |
Group.getRequiredMembers() |
Gets the required members of this
Group object. |
Role |
UserAdmin.getRole(java.lang.String name) |
Gets the
Role object with the given name from this
User Admin service. |
Role |
UserAdminEvent.getRole() |
Gets the
Role object this event was generated for. |
Role[] |
UserAdmin.getRoles(java.lang.String filter) |
Gets the
Role objects managed by this User Admin service that
have properties matching the specified LDAP filter criteria. |
Modifier and Type | Method | Description |
---|---|---|
boolean |
Group.addMember(Role role) |
Adds the specified
Role object as a basic member to this
Group object. |
boolean |
Group.addRequiredMember(Role role) |
Adds the specified
Role object as a required member to this
Group object. |
boolean |
Group.removeMember(Role role) |
Removes the specified
Role object from this Group
object. |
Constructor | Description |
---|---|
UserAdminEvent(org.osgi.framework.ServiceReference ref,
int type,
Role role) |
Constructs a
UserAdminEvent object from the given
ServiceReference object, event type, and Role
object. |