I would like to customize the dialog window that pops up asking users to authenticate. I am using tomcat basic authentication; currently when the user hits a protected page they get a dialog box that says
A username and password are being requested by http://localhost:8080. The site says: “Authentication required”
I am pretty sure that I read somewhere that it is possible to change this message. Does anybody know how or where?
Tomcat is using the realm name you can configure in web.xml
See, for example http://oreilly.com/java/archive/tomcat-tips.html