| Package | Description | 
|---|---|
| org.osgi.service.useradmin | 
 User Admin Package Version 1.1. 
 | 
| Modifier and Type | Interface and 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 and Description | 
|---|---|
Role | 
UserAdmin.createRole(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 | 
UserAdminEvent.getRole()
Gets the  
Role object this event was generated for. | 
Role | 
UserAdmin.getRole(String name)
Gets the  
Role object with the given name from this User
 Admin service. | 
Role[] | 
UserAdmin.getRoles(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 and 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 and Description | 
|---|
UserAdminEvent(ServiceReference ref,
              int type,
              Role role)
Constructs a  
UserAdminEvent object from the given
 ServiceReference object, event type, and Role object. | 
Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0