Re: JDBC access with md5 password - Mailing list pgsql-jdbc

From Timothy A. DeWees
Subject Re: JDBC access with md5 password
Date
Msg-id 000e01c2c86c$f53660c0$7930000a@hcd.net
Whole thread Raw
In response to Re: JDBC access with md5 password  (Curt Sampson <cjs@cynic.net>)
Responses Re: JDBC access with md5 password  (Barry Lind <blind@xythos.com>)
List pgsql-jdbc
Thanks for the reply.  I am using the driver that came with 7.3.1.  I did
a --with-java and am using the postgresql.jar file that got built.

The driver was build with JDK 1.4.1 if that makes a difference.

--
Timothy A. DeWees
330/493-9700
http://www.hcd.net
Himebaugh Consulting, Inc.


-----Original Message-----
From: Curt Sampson [mailto:cjs@cynic.net]
Sent: Wednesday, January 29, 2003 1:44 AM
To: Timothy A. DeWees
Cc: pgsql-jdbc@postgresql.org
Subject: Re: [JDBC] JDBC access with md5 password


On Fri, 24 Jan 2003, Timothy A. DeWees wrote:

> Can anyone help me on how to connect to the database via JDBC if I'm using
> md5 passwords?  Do I need to create the MD5 hash and send that as the
> password, or is there something I do with the driver before hand?

Yeah, there's something you need to do with the driver. Upgrade it to
the one from 7.3. :-) Then just send your usual password.

(The 7.2 JDBC drivers had a bug that, depending on localization settings,
could mess up the MD5 hashing.)

cjs
--
Curt Sampson  <cjs@cynic.net>   +81 90 7737 2974   http://www.netbsd.org
    Don't you know, in this new Dark Age, we're all light.  --XTC



pgsql-jdbc by date:

Previous
From: "Hale Pringle"
Date:
Subject: Re: Project criteria
Next
From: Vicente Alabau Gonzalvo
Date:
Subject: Data types