Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Problem w/ IDENT authentication


  • From: Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk>
  • To: Ian Pilcher <i(dot)pilcher(at)comcast(dot)net>
  • Cc: pgsql-jdbc(at)postgresql(dot)org
  • Subject: Re: Problem w/ IDENT authentication
  • Date: Mon, 26 Jul 2004 10:58:19 +0100
  • Message-id: <20040726105819.A23822@bacon> <text/plain>


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 |
+------------------------------+---------------------------------------------+



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group