One of the issues I'm facing is that per example with Hive I could use httpPath to specify the knox path (gateway/topology, etc) but I don't know if that's something from Hive specifically or something it can be replicated with Presto. Thanks
On Thu, 25 Apr 2019, 18:22 Kevin Risden, <kris...@apache.org> wrote: > Another doubt regarding all this, would Knox be able to send to Presto the >> credentials used when performing the authentication? > > > There is a lot of flexibility here depending what needs to be done. Knox > can pass through authentication or add things like doAs or do something > completely custom with a custom dispatch. > > > Kevin Risden > > > On Mon, Apr 22, 2019 at 2:51 PM Odon Copon <odonco...@gmail.com> wrote: > >> Hi Kevin, >> I haven't found much information about the Rest API, just the following, >> https://github.com/prestodb/presto/tree/master/presto-docs/src/main/sphinx/rest >> that >> doesn't seem to contain anything useful and the Presto headers from the >> code, >> https://github.com/prestosql/presto/blob/master/presto-client/src/main/java/io/prestosql/client/PrestoHeaders.java >> . >> Also found some info about using jdbc to connect to Presto: >> https://prestodb.github.io/docs/current/installation/jdbc.html. >> >> Another doubt regarding all this, would Knox be able to send to Presto >> the credentials used when performing the authentication? >> Thanks. >> >> On Mon, 22 Apr 2019 at 19:11, Kevin Risden <kris...@apache.org> wrote: >> >>> Not sure. I don't know what the endpoints for Presto are. From the link >>> you provided it looks like it could be possible. There was a Knox Jira >>> issue opened (and closed by that same user) about Presto [1]. So I would >>> guess it works but there isn't anything included in Knox today. >>> >>> [1] https://issues.apache.org/jira/browse/KNOX-1163 >>> >>> Kevin Risden >>> >>> >>> On Mon, Apr 22, 2019 at 2:07 PM Odon Copon <odonco...@gmail.com> wrote: >>> >>>> Hi, >>>> Is there any way of making Knox work with Presto so it can authorize >>>> the access to Presto or redirect LDAP credentials to Presto? >>>> The only information I have seen is the following link: >>>> https://github.com/prestodb/presto/issues/5643 >>>> >>>> Thanks >>>> >>>