You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dirk Brockmann <zw...@chaos.gwdg.de> on 2004/07/15 14:30:05 UTC
admin tool and password digestion
Hi,
I've just installed tomcat 5.0.25 and have started it succesfully.
I've set it up with a UserDatabaseRealm according to:
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
digest="MD5"/>
in the file tomcat_users.xml I've got a user definition
<user username="tomcat" password="1b359d8753858b55befa0441067aaed3"
roles="tomcat,admin"/>
with a MD5 digested password. With this setup I can succesfully
authenticate against the admin and the manager tool.
However, if I add a new user with the admin tool the new data
is written into tomcat_users.xml with a clear text password, undigested.
My question is:
Defining a new user, can I provide a clear text password which is
digested by the admin tool before the data is written into tomcat_users.xml.
Help in this matter is greatly appreciated,
Dirk
----------------------------------------------------------------------
Dr. Dirk Brockmann zwerg@chaos.gwdg.de
Nonlinear Dynamics Group Office: +49 551 5176 411
MPI für Strömungsforschung Cell: +49 179 2157 180
Göttingen, Germany Fax: +49 551 5176 409
----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org