On 26/07/2004 09:53 Ian Pilcher wrote:
> I am trying to set up IDENT authentication for Tomcat 5 on my Fedora
> Core 2 system. I've added the appropriate line to pg_hba.conf:
>
> host tomcat4 tomcat4 127.0.0.1 255.255.255.255 ident sameuser
>
> This works as expected from a console:
that's because you're connecting via tcp/ip sockets from Tomcat and unix
domain sockets from psql. Personally, I find md5 + firewall more than
sufficient.
--
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for
Business |
| Computer Consultants |
http://www.thomas-micro-systems-ltd.co.uk |
+------------------------------+---------------------------------------------+