[opencms-dev] Problem Installing 6.0 alpha 1&2 on WinXP
Alexander Kandzior
alex at opencms.org
Fri Oct 29 18:39:10 CEST 2004
> So now the question is whether it's normal or not that
> exportRequired() is called during log in of user Admin.
It is, since this is done as part of resolving a <cms:link> tag.
This is not actually related to the login process at all, it's just the link
replacement done from the links on the login page.
> I give that back to the experts. Maybe you can give me some
> hints which classes I should set breakpoints in to see what
> happens to the user that logs in and where tests are done
> with this user while opening the workspace.
All the interesting stuff regarding login happens in the following class:
org.opencms.main.OpenCmsCore
You should setp thriugh the following methods there:
private CmsObject initCmsObject(HttpServletRequest req, HttpServletResponse
res)
private void checkBasicAuthorization(CmsObject cms, HttpServletRequest req,
HttpServletResponse res)
And finally
private void updateUser(CmsObject cms, HttpServletRequest req)
You should monitor the value of cms.getRequestContext().currentUser().
The login itself happens in this class:
com.opencms.workplace.CmsLoginNew
There you should step through the method:
public byte[] getContent(CmsObject cms....
Best Regards,
Alex.
Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com
More information about the opencms-dev
mailing list