From: | Dave Cramer <pg(at)fastcrypt(dot)com> |
---|---|
To: | david(at)eclipsecat(dot)com |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Any example code of using passwords with JDBC? |
Date: | 2005-06-14 15:14:47 |
Message-ID: | 558F5946-8A83-4FFD-A40F-B0AFD9FCC634@fastcrypt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
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(at)postgresql(dot)org
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Cramer | 2005-06-14 15:20:08 | patch for passing the cts |
Previous Message | David Siebert | 2005-06-14 15:07:17 | Any example code of using passwords with JDBC? |