/show_bug.cgi?id=36057
Summary: The method 'getUserPrincipal()' in class
'org.apache.catalina.connector.Request' returns a not
null value after the session has been invalidated and/or
recreated
Product: Tomcat 5
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=36057.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.
Hi all,
Why are getUserPrincipal and getRemoteUser returnnig null? I know that they
are supposed to return null if the user is not authenticated. What does
that mean exactly? I have Tomcat running locally on my machine. What does
'authentication' mean in my context?
Thanks
RA
Hi, I posted this question first on tomcat-users, but with no
responses. I'm hoping one of you guys will be able to answer this
question. I have been using Tomcat 3.1 in the past, and have been using
the getUserPrincipal().getName() method to determine who has logged in.
I was using apache
I just entered bug 558, but the bug tool ignored the text in the
"how to reproduce" and "workaround" fields, which included my suggested
bug fix:
How to reproduce:
Access the jsp/security/protected/index.jsp
example then access it again as a different user.
getRemoteUser