TitleJSPWikiAssertedNameCookieSetToNull
Date23-Jun-2006 17:34:00 EEST
Version2.4.13
SubmitterMarcPatteet
Bug criticalityBadBug
Browser versionIE6, FireFox
Bug statusClosedBug
PageProvider usedVersioningFileProvider
Servlet ContainerWeblogic 8.1
Operating SystemWin2000
URLUserPreferences.jsp
Java version1.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.

--HarryMetske

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-6) was last changed on 31-Mar-2007 22:28 by 88.211.133.30