public interface DoAsRemoteUserCallback
For example, complex logic could be supplied to control whether clientA from host1 is permitted to execute queries. This logic is deferred upon the user to implement.
| Modifier and Type | Method and Description |
|---|---|
<T> T |
doAsRemoteUser(String remoteUserName,
String remoteAddress,
Callable<T> action)
Invokes the given
action as the remoteUserName. |
<T> T doAsRemoteUser(String remoteUserName, String remoteAddress, Callable<T> action) throws Exception
action as the remoteUserName.remoteUserName - The remote user making a request to the Avatica server.remoteAddress - The address the remote user is making the request from.action - The operation the Avatica server wants to run as remoteUserName.ExceptionCopyright © 2012-2025 Apache Software Foundation. All Rights Reserved.