Title | JSPWikiAssertedNameCookieSetToNull |
Date | 23-Jun-2006 17:34:00 EEST |
Version | 2.4.13 |
Submitter | MarcPatteet |
Bug criticality | BadBug |
Browser version | IE6, FireFox |
Bug status | ClosedBug |
PageProvider used | VersioningFileProvider |
Servlet Container | Weblogic 8.1 |
Operating System | Win2000 |
URL | UserPreferences.jsp |
Java version | 1.4.2_03 |
When you do not use the new AA system (by putting the line "jspwiki.security=container" in the properties file) the cookie JSPWikiAssertedName is set to null when you try to fill in a WikiName on the Preferences page and not updated to the provided wiki name.
As a consequence a user is always considered as an "(Anonymous) Guest".
-- Marc Patteet, 23-06-2006 --
This problem also occurs when running without AA on WebSphere. It looks like there are quite a few things that run well on Tomcat, but not on other containers.....
--HarryMetske, 29-Jun-2006
This has nothing todo with the server, it does not work under Tomcat (or Jetty) neither.
--Marc Patteet, 30-Jun-2006
This seemed to be a problem with the template I was using, not with JSPWiki itself.
The cookie is correctly set now but users are still considered as guest.
These are the relevant log lines:
DEBUG com.ecyrd.jspwiki.WikiEngine - Servlet path is: /UserPreferences.jsp DEBUG com.ecyrd.jspwiki.WikiEngine - Mapped to UserPreferences DEBUG com.ecyrd.jspwiki.WikiSession$SessionMonitor - Looking up WikiSession for session ID=2937D76BD7C7AD666D4DB2D3F9736B8F... found it DEBUG com.ecyrd.jspwiki.WikiContext - Creating WikiContext for session ID=2937D76BD7C7AD666D4DB2D3F9736B8F; page=UserPreferences DEBUG com.ecyrd.jspwiki.WikiContext - Do we need to log the user in? false DEBUG com.ecyrd.jspwiki.WikiSession$SessionMonitor - Looking up WikiSession for session ID=2937D76BD7C7AD666D4DB2D3F9736B8F... found it DEBUG com.ecyrd.jspwiki.WikiContext - Creating WikiContext for session ID=2937D76BD7C7AD666D4DB2D3F9736B8F; page=SMARTHome DEBUG com.ecyrd.jspwiki.WikiContext - Do we need to log the user in? false DEBUG com.ecyrd.jspwiki.WikiSession - Looking up WikiSession for NULL HttpRequest: returning guestSession() DEBUG com.ecyrd.jspwiki.WikiContext - Creating WikiContext for session ID=(null); page=Home DEBUG com.ecyrd.jspwiki.WikiContext - Do we need to log the user in? false
I tested it with the default template under Tomcat 5.15
-- MP 03-Jul-2006
Still occurs randomly. Andrew?
-- JanneJalkanen, 13-Aug-2006
I think this one can be closed, feel free to re-open if you think I'm wrong.