Re: Model-View-Controller and user permissions
Re: Model-View-Controller and user permissions
- Subject: Re: Model-View-Controller and user permissions
- From: Amy Worrall <email@hidden>
- Date: Tue, 19 Jul 2011 20:28:59 +0100
> Alternately, the security manager could get the user from the thread too. The method signature would still look the same.
>
> Â ERCoreBusinessLogic does this with the 'actor'. You can look at bug tracker to see an example. Just store the user on the session, then you can put the user on the thread local at session.awake() and remove it from the thread local on session.sleep().
I think that was the bit I was missing — I wasn't sure where to hook
it in to the thread lifecycle. This seems to make some sort of sense
now!
Is it worth me using ERCoreBusinessLogic?
Amy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden