pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: owenn panng <trilogy@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: converting to MD5
Date: Tue, 19 Oct 2004 13:10:06 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0410191308040.32539@leary.csoft.net> (raw)
In-Reply-To: <c1158fd10410191100261728eb@mail.gmail.com>
References: <c1158fd10410191100261728eb@mail.gmail.com>



On Tue, 19 Oct 2004, owenn panng wrote:

> I can generate the same password that matches the one stored in
> pg_shadow.  So how do I specify that the password I am sending is in
> MD5?  Any help would be appreciated.

You don't.  The JDBC driver sends the database and user name it wants to 
connect to to the server.  The server sends back the password format to 
use (if any) and the driver responds with the password in that format.  So 
there's nothing you need to do, you just specify the password in plain 
text as normal.

Kris Jurka



view thread (3+ messages)  latest in thread

Message-ID: <Pine.BSO.4.56.0410191308040.32539@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0410191308040.32539@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0410191308040.32539@leary.csoft.net

 · 

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-jdbc@postgresql.org
  Cc: books@ejurka.com, trilogy@gmail.com
  Subject: Re: converting to MD5
  In-Reply-To: <Pine.BSO.4.56.0410191308040.32539@leary.csoft.net>
  References: <c1158fd10410191100261728eb@mail.gmail.com> <Pine.BSO.4.56.0410191308040.32539@leary.csoft.net>

* 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