4 messages in org.postgresql.pgsql-jdbcRe: Simple way to manage users with J...
FromSent OnAttachments
Peter NeuJul 27, 2006 1:44 am 
Roland WalterJul 27, 2006 2:17 am 
Roland WalterJul 27, 2006 2:25 am 
Peter NeuJul 27, 2006 4:42 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Simple way to manage users with JDBC/Servlets?Actions...
From:Roland Walter (rw@mosaic-ag.com)
Date:Jul 27, 2006 2:25:09 am
List:org.postgresql.pgsql-jdbc

Roland Walter schrieb:

Peter Neu schrieb:

Can the password be auto created by postgresql and converted in md5?

I would try to declare a server side function that generates the password from the name and set a default on the password column that uses this function.

There is a md5() function declared in PostgreSQL.

It is mentioned in the documentation for 8.1:

http://www.postgresql.org/docs/8.1/interactive/functions-binarystring.html

But not in the documentation for 7.4, but it is there.

Bullshit, the documentation is here:

http://www.postgresql.org/docs/7.4/interactive/functions-string.html

-- Roland Walter mailto: rwa (at) mosaic-ag (dot) com MOSAIC SOFTWARE AG phone: +49 (0) 22 25 / 88 2-44 9 Am Pannacker 3 fax: +49 (0) 22 25 / 88 2-20 1 D-53340 Meckenheim http://www.mosaic-ag.com

Die in dieser E-Mail enthaltenen Nachrichten und Anhaenge sind ausschliesslich fuer den bezeichneten Adressaten bestimmt. Sie koennen rechtlich geschuetzte, vertrauliche Informationen enthalten. Falls Sie nicht der bezeichnete Empfaenger oder zum Empfang dieser E-Mail nicht berechtigt sind, ist die Verwendung, Vervielfaeltigung oder Weitergabe von Nachrichten und Anhaengen untersagt. Falls Sie diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte unverzueglich den Absender und vernichten Sie die E-Mail.