(Using Java 6 and Tomcat 6.)
Is there a way for me to get HttpServletRequest.getRemoteUser() to return a value in my development environment (i.e. local
HttpServletRequest.getRemoteUser()
Use a local, file-based realm for testing. Check your conf/tomcat-users.xml and create roles and users for your application and enable the security constraints in your web.xml. There are good examples in the tomcat-users.xml.
conf/tomcat-users.xml
tomcat-users.xml