it works fine for me
Did u check if the database really contains a MD5 enrypted and Base64
encoded stringas u specified it is only md5 encrypted ...just check it
if not remove the Base64 propertybut it is better to save then base64
encoded in the database if not
regards
JB
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von pagomen
Gesendet: Freitag, 7. Mai 2004 15:27
An: [EMAIL PROTECTED]
Betreff: [JBoss-user] [Beginners Corner] - Using Password Hashing
problem !!???
Hi all,
In my database I have the following table in order to keep users and each
roles :
| CREATE TABLE public.jboss_users
| (
| id bigserial NOT NULL,
| name varchar(64),
| passwd varchar(100),
| therole varchar(100),
| CONSTRAINT jboss_users_pkey PRIMARY KEY (id)
| )
|
and my login-config.xml :
|
|
|
| java:/PostgresDS
| select passwd from Jboss_users
where name=?
| select therole,'Roles' from
Jboss_users where name=?
|
|
|
|
|
Until now all goes fine BUT when I tried to use password hashing technique I
get a login error.
I change my login-config.xml to
|
|
|
| java:/PostgresDS
| MD5
| base64
| select passwd from Jboss_users
where name=?
| select therole,'Roles' from
Jboss_users where name=?
|
|
|
|
Also in database the password is stored in MD5 format:
| java -classpath ./jbosssx.jar org.jboss.security.Base64Encoder passwd
MD5
|
Did I miss something ??
Does anyone succeed setting up this password hashing feature ??
Thanks in advance
George
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834093#3834093
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834093
---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user