New method switchCurrentSession() in MCRSessionMgr

Description

Multithreaded handling of requests in a web application leads to different MCRSessionObjects in the HTTP request and the curren thread (via MCRSessionMgr.getCurrentSession()).
We need a method, that "injects" the MCRSession object from the HTTP request
into the current thread.
Special care must be taken, with the activation / passivation of the MCRSession.

Environment

None

Assignee

Robert Stephan

Reporter

Robert Stephan

Labels

None

URL

None

External issue ID

None

Components

Fix versions

Affects versions

Priority

Medium
Configure