Bug 47023

Summary: Allow multiple identities/roles per session
Product: Lenya Reporter: Andreas Hartmann <andreas>
Component: Access ControlAssignee: Lenya Developers <dev>
Status: NEW ---    
Severity: enhancement    
Priority: P2    
Version: 2.0.3   
Target Milestone: 2.0.1   
Hardware: PC   
OS: Mac OS X 10.4   
Bug Depends on:    
Bug Blocks: 46754    

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.