public class UserManagementMBean extends AMQManagedObject implements UserManagement
COMPOSITE_ITEM_DESCRIPTIONS, COMPOSITE_ITEM_NAMES, RIGHTS_ADMIN, RIGHTS_READ_ONLY, RIGHTS_READ_WRITE, TABULAR_UNIQUE_INDEX, TYPE, USERNAMEDOMAIN| Constructor and Description |
|---|
UserManagementMBean(PasswordCredentialManagingAuthenticationProvider provider,
ManagedObjectRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
createUser(String username,
String password)
Create users with given details.
|
boolean |
deleteUser(String username)
View users returns all the users that are currently available to the system.
|
String |
getAuthenticationProviderType()
The type of the underlying authentication provider being managed.
|
String |
getObjectInstanceName() |
ManagedObject |
getParentObject() |
boolean |
reloadData()
Reload the user data
Since Qpid JMX API 2.3 / 1.12 this operation reloads only the password data.
|
boolean |
setPassword(String username,
String password)
Set password for a given user.
|
TabularData |
viewUsers()
View users returns all the users that are currently available to the system.
|
addNotificationListener, getBroadcaster, incrementAndGetSequenceNumber, removeNotificationListenergetHierarchicalName, getHierarchicalType, getManagementInterface, getMBeanInfo, getNotificationInfo, getObjectName, getObjectNameForSingleInstanceMBean, getRegistry, getType, register, toString, unregistercacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNotificationInfopublic UserManagementMBean(PasswordCredentialManagingAuthenticationProvider provider, ManagedObjectRegistry registry) throws JMException
JMExceptionpublic String getObjectInstanceName()
getObjectInstanceName in interface ManagedObjectpublic boolean setPassword(String username, String password)
UserManagementsetPassword in interface UserManagementusername - The username to createpassword - The password for the userpublic boolean createUser(String username, String password)
UserManagementcreateUser in interface UserManagementusername - The username to createpassword - The password for the userpublic boolean deleteUser(String username)
UserManagementdeleteUser in interface UserManagementusername - The user to deletepublic boolean reloadData()
UserManagementreloadData in interface UserManagementpublic TabularData viewUsers()
UserManagementviewUsers in interface UserManagementpublic ManagedObject getParentObject()
getParentObject in interface ManagedObjectgetParentObject in class DefaultManagedObjectpublic String getAuthenticationProviderType()
UserManagementgetAuthenticationProviderType in interface UserManagementCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.