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.
<T> T doAsRemoteUser(String remoteUserName, String remoteAddress, Callable<T> action) throws Exception
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
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.