Bug 47023 - Allow multiple identities/roles per session
Summary: Allow multiple identities/roles per session
Status: NEW
Alias: None
Product: Lenya
Classification: Unclassified
Component: Access Control (show other bugs)
Version: 2.0.3
Hardware: PC Mac OS X 10.4
: P2 enhancement
Target Milestone: 2.0.1
Assignee: Lenya Developers
Depends on:
Blocks: 46754
  Show dependency tree
Reported: 2009-04-14 02:04 UTC by Andreas Hartmann
Modified: 2009-04-14 02:08 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Hartmann 2009-04-14 02:04:15 UTC
At the moment the multi-site concept is not reflected by the user session handling. Only one identity is attached to the servlet session. This means that one can not access multiple publications (with different accreditable managers) from a single browser.
Comment 1 Andreas Hartmann 2009-04-14 02:08:27 UTC
A possible approach would be to use the accreditable manager ID as part of the session attribute key:

String accrMgrId = accreditableManager.getId();
session.setAttribute(Identity.class.getName() + "/" + accrMgrId, identity);

This way, each accreditable manager could have its own identity in the same servlet session.