org.apache.felix.jmood.compendium
Interface UserManagerMBean
- All Known Implementing Classes:
- UserManager
public interface UserManagerMBean
Method Summary |
void |
addCredential(String key,
Object value,
String username)
|
boolean |
addMember(String groupname,
String rolename)
|
void |
addProperty(String key,
Object value,
String rolename)
|
boolean |
addRequiredMember(String groupname,
String rolename)
|
void |
createRole(String name,
String type)
Creates a role of the specified type, case insensitive, with the specified name |
javax.management.openmbean.CompositeData |
getAuthorization(String user)
|
Hashtable |
getCredentials(String username)
|
javax.management.openmbean.CompositeData |
getGroup(String groupname)
|
String[] |
getGroups()
|
String[] |
getImpliedRoles(String username)
|
String[] |
getMembers(String groupname)
|
Hashtable |
getProperties(String rolename)
|
String[] |
getRequiredMembers(String groupname)
|
javax.management.openmbean.CompositeData |
getRole(String name)
|
String[] |
getRoles()
|
String[] |
getRoles(String filter)
|
javax.management.openmbean.CompositeData |
getUser(String username)
|
String |
getUser(String key,
String value)
|
String[] |
getUsers()
|
void |
removeCredential(String key,
String username)
|
boolean |
removeMember(String groupname,
String rolename)
|
void |
removeProperty(String key,
String rolename)
|
boolean |
removeRole(String name)
|
createRole
void createRole(String name,
String type)
throws Exception
- Creates a role of the specified type, case insensitive, with the specified name
- Parameters:
name
- type
-
- Throws:
Exception
getRole
javax.management.openmbean.CompositeData getRole(String name)
throws Exception
- Throws:
Exception
getGroup
javax.management.openmbean.CompositeData getGroup(String groupname)
throws Exception
- Throws:
Exception
getUser
javax.management.openmbean.CompositeData getUser(String username)
throws Exception
- Throws:
Exception
getAuthorization
javax.management.openmbean.CompositeData getAuthorization(String user)
throws Exception
- Throws:
Exception
getRoles
String[] getRoles(String filter)
throws Exception
- Throws:
Exception
getUser
String getUser(String key,
String value)
throws Exception
- Throws:
Exception
removeRole
boolean removeRole(String name)
throws Exception
- Throws:
Exception
getRoles
String[] getRoles()
throws Exception
- Throws:
Exception
getGroups
String[] getGroups()
throws Exception
- Throws:
Exception
getUsers
String[] getUsers()
throws Exception
- Throws:
Exception
getMembers
String[] getMembers(String groupname)
throws Exception
- Throws:
Exception
getRequiredMembers
String[] getRequiredMembers(String groupname)
throws Exception
- Throws:
Exception
addMember
boolean addMember(String groupname,
String rolename)
throws Exception
- Throws:
Exception
addRequiredMember
boolean addRequiredMember(String groupname,
String rolename)
throws Exception
- Throws:
Exception
removeMember
boolean removeMember(String groupname,
String rolename)
throws Exception
- Throws:
Exception
getImpliedRoles
String[] getImpliedRoles(String username)
throws Exception
- Throws:
Exception
addProperty
void addProperty(String key,
Object value,
String rolename)
throws Exception
- Throws:
Exception
removeProperty
void removeProperty(String key,
String rolename)
throws Exception
- Throws:
Exception
addCredential
void addCredential(String key,
Object value,
String username)
throws Exception
- Throws:
Exception
removeCredential
void removeCredential(String key,
String username)
throws Exception
- Throws:
Exception
getProperties
Hashtable getProperties(String rolename)
throws Exception
- Throws:
Exception
getCredentials
Hashtable getCredentials(String username)
throws Exception
- Throws:
Exception
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.