pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <pg@fastcrypt.com>
To: david@eclipsecat.com
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Any example code of using passwords with JDBC?
Date: Tue, 14 Jun 2005 11:14:47 -0400
Message-ID: <558F5946-8A83-4FFD-A40F-B0AFD9FCC634@fastcrypt.com> (raw)
In-Reply-To: <42AEF2A5.2050107@eclipsecat.com>
References: <42AEF2A5.2050107@eclipsecat.com>

David,

I use passwords all the time,

Can you create a small test case which fails ?

Dave
On 14-Jun-05, at 11:07 AM, David Siebert wrote:

> I have yet to figure out how to access a postgres server that  
> requires passwords. I can log onto it with PG adminIII just fine  
> but not using JDBC.
> Here is my connect statement
>  m_sqlConnection = DriverManager.getConnection(s_SQLConnect,  
> s_SQLUser,"PASSWORD");
> I have tried clear text, md5, and encrypted.
> Does JDBC detect what type of password is required and then sends it?
> Or do I have to specify it somewhere?
>
> ---------------------------(end of  
> broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to  
> majordomo@postgresql.org
>
>




view thread (3+ messages)  latest in thread

Message-ID: <558F5946-8A83-4FFD-A40F-B0AFD9FCC634@fastcrypt.com>
Permalink:  ../558F5946-8A83-4FFD-A40F-B0AFD9FCC634@fastcrypt.com/
Also on:    postgresql.org/message-id/558F5946-8A83-4FFD-A40F-B0AFD9FCC634@fastcrypt.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-jdbc@postgresql.org
  Cc: pg@fastcrypt.com, david@eclipsecat.com
  Subject: Re: Any example code of using passwords with JDBC?
  In-Reply-To: <558F5946-8A83-4FFD-A40F-B0AFD9FCC634@fastcrypt.com>
  References: <42AEF2A5.2050107@eclipsecat.com> <558F5946-8A83-4FFD-A40F-B0AFD9FCC634@fastcrypt.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