tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 12428] - request.getUserPrincipal(): Misinterpretation of specification?
Date Thu, 22 Sep 2005 03:09:26 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=12428>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=12428





------- Additional Comments From apara@standardset.com  2005-09-22 05:09 -------
(In reply to comment #14)
Unless there have been changes in the latest version of TomCat, I have always
been using Form Authentication.  So the description of this problem is IN the
context of Form Authentication.  Even after being authenticated via a Form
authentication method, the getUserPrincipal still returns NULL for those
resources which are not protected.  

I worked around this problem, however, by creating my own Valve and storing the
authenticated user somewhere I can get it later.  Later, I ensure that this user
is correctly setup for the JBOSS call to the EJB.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message