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 42037] - User principal not always set correctly
Date Tue, 17 Apr 2007 20:39:59 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=42037>.
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=42037





------- Additional Comments From allan@2bc.com  2007-04-17 13:39 -------
My apologies, it's the Subject.getSubject() that returns null and consequently
there's no Principal either.

Yes, we use a security manager. Trying to run the application without the
security manager would be a challenging one, because it heavily depends on it
and basically doesn't work without it.

With regards to the two requests in one session, your assumption is probably
correct as struts-tiles does just that (multiple requests in one session).
However I would assume that once the user is logged in this situation of order
of requests should not matter anymore as the subject has already been set and
available to every request from then on. Yet, still some requests retrieve null
even though the user has been logged in for quite a while.

I will try to produce a small isolated test case. However time is not in
abundance for me, it might take a bit of time to produce one.

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message