gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Re: web frontend/patient singleton


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Re: web frontend/patient singleton
Date: Sun, 30 Jan 2005 12:33:54 +0100
User-agent: Mutt/1.3.22.1i

> >but there is a sql command "set session authorization 'username'" if 
> >the original connecting user is a superuser, so that could be the workaround.
> >
> this worked by first logging in as postgres then, grant all on 
> public.pg_user to  "gm-dbowner";
> only needs to be done once.
> 
> thereafter ,  the initial connection pooling user can be gm-dbowner,
> who then can do ' set session authorization to "any-doc" ' if any-doc is the
> session user in tomcat.
I would, however, suggest setting up a dedicated connection
pooling user which is used to connect the pool and then set
session authorization.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]