How would I go about setting up an application context per "organization" for an ASP webapp?
The specifics is that certain beans need to be configured differently (DataSources, SessionFactories, etc) depending on what the organization of the user is that is accessing the system.
Ideally what would be best would be to have the standard WebAppContext,
then per-org contexts (parented by the WebAppContext) that can be made the "effective" AppContext when the app determines the org for the user making the request.
Or, if there is a better way to do this that im just not seeing please fill me in.


Reply With Quote