Hello,
I just tried to execute on Tomcat 8.0.20 :
digest.bat -a MD5 myusername:myrealm:mypassword
and it replyed with:
myusername:myrealm:mypassword:283c7c0d977648d4dc3def5a20e2a595701a754244baec7153d40e8ee30ff6a5$1$f47f1b081edd3627ed24d67274dd6e15
I used this long MD5
(283c7c0d977648d4dc3def5a20e2a595701a754244baec7153d40e8ee30ff6a5$1$f47f1b081edd3627ed24d67274dd6e15)
in my tomcat-user.xml and the user couldn't login with DIGEST method.
Then I tried to execute the same command on Tomcat 6.0.43 and got:
myusername:myrealm:mypassword:8fcc8ae2c169463bab76eb7124aede7b
I used the short MD5 (8fcc8ae2c169463bab76eb7124aede7b) ) in my Tomcat 8's
tomcat-user.xml and the login is working again! (DIGEST method)
Question: Why Tomcat8's digest.bat is generating such a long MD5? It doesn't
look the same as earlier and it is not working.
The documentation ( http://tomcat.apache.org/tomcat-8.0-doc/realm-howto.html )
does not state any changes in how to generate MD5s with digest.bat.
Thanks
Igor Mukhin
________________________________
w.e.b.
Wirth EDV Beratung OHG
Jesuitenstrasse 11
85049 Ingolstadt
Telefon +49 (0)841 981280
Telefax +49 (0)841 9812828
http://www.web-dienstleister.de
Sitz der Gesellschaft: Ingolstadt
Registergericht: Amtsgericht Ingolstadt, HRA 1833