Re: Any example code of using passwords with JDBC?

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: Any example code of using passwords with JDBC?
Дата
Msg-id 558F5946-8A83-4FFD-A40F-B0AFD9FCC634@fastcrypt.com
обсуждение исходный текст
Ответ на Any example code of using passwords with JDBC?  (David Siebert <david@eclipsecat.com>)
Список 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@postgresql.org
>
>


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: David Siebert
Дата:
Сообщение: Any example code of using passwords with JDBC?
Следующее
От: Dave Cramer
Дата:
Сообщение: patch for passing the cts