• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Model-View-Controller and user permissions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Model-View-Controller and user permissions
      • From: Ramsey Gurley <email@hidden>
References: 
 >Model-View-Controller and user permissions (From: Amy Worrall <email@hidden>)
 >Re: Model-View-Controller and user permissions (From: Chuck Hill <email@hidden>)
 >Re: Model-View-Controller and user permissions (From: Amy Worrall <email@hidden>)
 >Re: Model-View-Controller and user permissions (From: Chuck Hill <email@hidden>)
 >Re: Model-View-Controller and user permissions (From: Ramsey Gurley <email@hidden>)

  • Prev by Date: Re: Model-View-Controller and user permissions
  • Next by Date: Re: Model-View-Controller and user permissions
  • Previous by thread: Re: Model-View-Controller and user permissions
  • Next by thread: Re: Model-View-Controller and user permissions
  • Index(es):
    • Date
    • Thread