10 Dec
2008
10 Dec
'08
5:47 p.m.
Juergen Lorenz Simon wrote:
Hi,
i found the cause of the error. What is the difference between the following two lines:
Line 1: xwiki .authentication .authclass = com .kontrast.vodafone.portal.xwiki.plugins.auth.PortalAuthenticationPlugin
Line 2: xwiki .authentication .authclass = com .kontrast.vodafone.portal.xwiki.plugins.auth.PortalAuthenticationPlugin
If you can guess it, you'll get a cookie. The difference is a BLANK at the end. When the class name is resolved, there is no trimming. Thus a blank at the end borks up the process. Pretty annoying, huh? Maybe there should be trimming in places like that?
FYI, http://jira.xwiki.org/jira/browse/XWIKI-2971 -- Sergiu Dumitriu http://purl.org/net/sergiu/