On Nov 9, 11:19 am, Sergi Vladykin <sergi.vlady...@gmail.com> wrote:
> > Definitely, connection factory is something we are looking for and I
> > was just thinking about DataSource as a standard interface used for
> > such purposes. But we can also use approch you suggested creating the
> > own interface for this.
>
> DataSource only accepts username and password as parameters but here
> url and other stuff are needed too.

Why database URL is needed at all?
As far as I understood the main use case for using PsGerver is to
provide access to the already configured application DB. Is not it so?

>
> > The use case we are trying to solve with PgServer is exposing our
> > application DB via ODBC and relying on client configuration might be
> > not safe in our case.
>
> Will not it be a security issue if you will not check username and
> password?

We are not currently using database security mechanisms at all as we
are doing it on a higher layer with Spring.

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to h2-datab...@googlegroups.com.
To unsubscribe from this group, send email to 
h2-database+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to