Bugs item #458075, was opened at 2001-09-03 08:13 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=458075&group_id=22866 Category: JBossServer Group: v2.2.2 (stable) Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: HttpgetRemoteUser() NullPointerException Initial Comment: - j2sdk1.3 on Debian-testing and NT-4.0, both on x86 - JBoss-2.2.2_Tomcat-3.2.2 - apache-1.3.19 HttpServletRequest.getRemoteUser() throws a NullPointerException in both of the following situations: - Access via Tomcat's HTTP port 8080, with no access control information in the web.xml (i.e. an un-authenticated user) - Access via Apache and ajp12, the user authenticated via BASIC_AUTH >From the API docs: > getRemoteUser() > Returns the login of the > user making this request, if the > user has been authenticated, or null > if the user has not been authenticated. A NullPointerException is clearly a bug. In the first situation, it should return null. In the second, I'd expect it to return the correct user name, but I can see the possibility that there might be more configuration required. I'm certainly interested in pointers to information about how to make this work, if indeed it does. In my deployment environment, the existing Apache server and its authentication framework, SSL certificate, etc., are givens that I can't eliminate (although limited reconfiguration is possible). - Raz ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=458075&group_id=22866 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development