> 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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to