public class MQDatabaseUsersDAO extends Object implements MQUsersDAO
| Constructor and Description |
|---|
MQDatabaseUsersDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
addUser(String userName,
String password) |
MQUser |
getMQUser(String userName) |
List<String> |
getMQUsers() |
static String |
getUserPasswordSettingKey(String userName) |
static String |
getUserRolesSettingKey(String userName) |
static String |
getUsersSettingKey() |
void |
removeUser(String userName) |
public static String getUserPasswordSettingKey(String userName)
userName - user namepublic static String getUserRolesSettingKey(String userName)
userName - user namepublic static String getUsersSettingKey()
public void addUser(String userName, String password) throws PluginPropertyServiceException, AuthorizationException
addUser in interface MQUsersDAOuserName - user namepassword - user passwordPluginPropertyServiceException - exceptionAuthorizationExceptionpublic MQUser getMQUser(String userName) throws PluginPropertyServiceException
getMQUser in interface MQUsersDAOuserName - user namePluginPropertyServiceException - exceptionpublic List<String> getMQUsers() throws PluginPropertyServiceException
getMQUsers in interface MQUsersDAOPluginPropertyServiceException - exceptionpublic void removeUser(String userName) throws PluginPropertyServiceException, AuthorizationException
removeUser in interface MQUsersDAOuserName - user namePluginPropertyServiceException - exceptionAuthorizationExceptionCopyright © 2019 Communote team. All rights reserved.