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) |
close
void addUser(RemotingContext context, String username, String host, String password) throws RemoteException
RemoteException
void deleteUser(RemotingContext context, String username) throws RemoteException
RemoteException
List<String> getUsers(RemotingContext context) throws RemoteException
RemoteException
void grant(RemotingContext context, String object, String user, AccessMode mode) throws RemoteException
RemoteException
void revoke(RemotingContext context, String object, String user) throws RemoteException
RemoteException
Copyright © 2015. All rights reserved.