• 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: WOA, Building a Login form
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOA, Building a Login form


  • Subject: Re: WOA, Building a Login form
  • From: Art Isbell <email@hidden>
  • Date: Sun, 3 Apr 2005 11:44:35 -1000

On Apr 3, 2005, at 11:30 AM, Nathan Hampton wrote:

Like Drew, I'm far from an expert, but I have a WOComponent named LoginPanel and a class named AccessControl that work together to handle this in much the way Jean-François suggests.

Great! You might want to consider taking this separation a bit further to eliminate the dependency of your Model class on com.webobjects.appserver. To do so, consider passing AccessControl.login() an EOEditingContext rather than a Session. And instead of pushing values from your Model back to your Control layer (e.g., session.setUser(newUser)), you could make newUser an AccessControl instance variable with an accessor so that LoginPanel can pull the user from AccessControl and push it to Session.


Aloha,
Art
_______________________________________________
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


References: 
 >Re: WOA, Building a Login form (From: Nathan Hampton <email@hidden>)

  • Prev by Date: Re: WOA, Building a Login form
  • Next by Date: Re: WOA, Building a Login form
  • Previous by thread: Re: WOA, Building a Login form
  • Next by thread: PDF to scaled JPEG (thumbnail)
  • Index(es):
    • Date
    • Thread