pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Abernethy IV <abernethy@dynedge.com>
To: postgresql <pgsql-admin@postgresql.org>
Subject: Re: Encrypted Passwords
Date: Mon, 13 Jan 2003 10:47:20 +0800
Message-ID: <20030113104720.M77548@dynedge.com> (raw)
In-Reply-To: <25227.1042472298@sss.pgh.pa.us>
References: <20030110144927.M51502@dynedge.com>
	<20030110154754.M17846@dynedge.com>
	<20030113095352.M56045@dynedge.com>
	<25227.1042472298@sss.pgh.pa.us>

Well, actually I *do* want to.  My goal is to be able to use my existing set
of database users to authenticate to web apps running in Tomcat.  Tomcat
allows you to set up a JDBC Realm for authentication, which lets you connect
to a database and use usernames and passwords from that database.  The problem
is that Tomcat computes the digest without a salt and, therefore,
authentication is failing because the two digested versions of the same
password are different.

Has anyone else used postgres to set up a JDBC Realm?  Can anyone suggest any
alternatives?

--
Robert Abernethy IV
Dynamic Edge, Inc.
734.975.0460


> "Rob Abernethy IV" <abernethy@dynedge.com> writes:
> > Can you tell postgres *NOT* to use a salt when calculating the MD5
> > digest?
> 
> No, and you wouldn't want to.  The salt is an essential security
> feature.
> 
> 			regards, tom lane





view thread (7+ messages)  latest in thread

Message-ID: <20030113104720.M77548@dynedge.com>
Permalink:  ../20030113104720.M77548@dynedge.com/
Also on:    postgresql.org/message-id/20030113104720.M77548@dynedge.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: abernethy@dynedge.com
  Subject: Re: Encrypted Passwords
  In-Reply-To: <20030113104720.M77548@dynedge.com>
  References: <20030110144927.M51502@dynedge.com> <20030110154754.M17846@dynedge.com> <20030113095352.M56045@dynedge.com> <25227.1042472298@sss.pgh.pa.us> <20030113104720.M77548@dynedge.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox