From: David Siebert <david@eclipsecat.com>
To: pgsql-jdbc@postgresql.org
Subject: Any example code of using passwords with JDBC?
Date: Tue, 14 Jun 2005 11:07:17 -0400
Message-ID: <42AEF2A5.2050107@eclipsecat.com> (raw)
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?
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: david@eclipsecat.com
Subject: Re: Any example code of using passwords with JDBC?
In-Reply-To: <42AEF2A5.2050107@eclipsecat.com>
References: <42AEF2A5.2050107@eclipsecat.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