I am trying to get the digest password setting for tomcat manager application.
I have
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase" digest="MD5"/>
in my tomcat server.xml, the web.xml manager web application has changed to use the digest and changed the name of the area to TESTING:
<login-config>
<auth-method>DIGEST</auth-method>
<realm-name>TESTING</realm-name>
</login-config>
Then I used the included bat file to generate the md5 hash:
C:\tomcat6\bin>digest.bat -a MD5 tomcat:TESTING:testor
tomcat:TESTING:testor:1926e50988667dbd5deda9df02b82f28
Then I have a user in tomcat-users.xml with this digested hash as a password:
<user username="tomcat" password="1926e50988667dbd5deda9df02b82f28" roles="manager"/>
I also modified the 401.jsp page to use digest and TEST as the name of the area.
-, http://localhost:8080/manager/html . tomcat testor , enter, 401. , , 401.
, , , BASIC- SSL, ant , .
?