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 MQUsersDAO
userName
- user namepassword
- user passwordPluginPropertyServiceException
- exceptionAuthorizationException
public MQUser getMQUser(String userName) throws PluginPropertyServiceException
getMQUser
in interface MQUsersDAO
userName
- user namePluginPropertyServiceException
- exceptionpublic List<String> getMQUsers() throws PluginPropertyServiceException
getMQUsers
in interface MQUsersDAO
PluginPropertyServiceException
- exceptionpublic void removeUser(String userName) throws PluginPropertyServiceException, AuthorizationException
removeUser
in interface MQUsersDAO
userName
- user namePluginPropertyServiceException
- exceptionAuthorizationException
Copyright © 2019 Communote team. All rights reserved.