Re: Avatica and Authentication

2017-05-26 Thread Josh Elser
Going off of memory, there is an method you can invoke on the HttpServer.Builder class (the builder class invoked to create the Avatica server). I think you would call that method with a path to your file. If you're just invoking the StandaloneServer, I think we would just need to expose some

Re: Avatica and Authentication

2017-05-25 Thread F21
Hey Josh, Thanks, that was super useful. I've now implemented HTTP Basic and Digest Auth and passing the JDBC username/password to the backing DB. I want to spin up an Avatica HSQLDB server and have built the docker images. Where should the `jetty-users.properties` file be mounted so that the

Re: Avatica and Authentication

2017-05-19 Thread Josh Elser
F21 wrote: Just realized the proposed design does not take into account the situation where someone wants to do HTTP Basic or Digest auth against avatica, and then pass a separate username/password pair to the backing db. On 17/05/2017 9:24 AM, F21 wrote: Hi Josh, Thanks for the detailed res

Re: Avatica and Authentication

2017-05-16 Thread F21
Just realized the proposed design does not take into account the situation where someone wants to do HTTP Basic or Digest auth against avatica, and then pass a separate username/password pair to the backing db. On 17/05/2017 9:24 AM, F21 wrote: Hi Josh, Thanks for the detailed response! In t

Avatica and Authentication

2017-05-16 Thread F21
Hi Josh, Thanks for the detailed response! In terms of the HashLoginService in Jetty, does the client need to pass a role to Avatica? If so, how is this done? Also, if I define multiple roles for a given user in Avatica using a properties file, do they have any actual effect (from what I can se

Re: Avatica and Authentication

2017-05-16 Thread Josh Elser
On Tue, May 16, 2017 at 1:28 AM, F21 wrote: > Hey guys, > > I recently received a request to add authentication to the Go Avatica > driver. > > I am currently investigating ways to implement this. One of the limitations > of the Go database/sql package is that all configuration options need to be

Avatica and Authentication

2017-05-15 Thread F21
Hey guys, I recently received a request to add authentication to the Go Avatica driver. I am currently investigating ways to implement this. One of the limitations of the Go database/sql package is that all configuration options need to be passed in through the connection string (DSN). For