public interface UserConnector extends RemoteConnector
| Modifier and Type | Method and Description |
|---|---|
void |
addUser(RemotingContext context,
String username,
String host,
String password) |
void |
deleteUser(RemotingContext context,
String username) |
List<String> |
getUsers(RemotingContext context) |
void |
grant(RemotingContext context,
String object,
String user,
AccessMode mode) |
void |
revoke(RemotingContext context,
String object,
String user) |
closevoid addUser(RemotingContext context, String username, String host, String password) throws RemoteException
RemoteExceptionvoid deleteUser(RemotingContext context, String username) throws RemoteException
RemoteExceptionList<String> getUsers(RemotingContext context) throws RemoteException
RemoteExceptionvoid grant(RemotingContext context, String object, String user, AccessMode mode) throws RemoteException
RemoteExceptionvoid revoke(RemotingContext context, String object, String user) throws RemoteException
RemoteExceptionCopyright © 2015. All rights reserved.