• 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: Practical WebObjects Authentification scheme
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Practical WebObjects Authentification scheme


  • Subject: Re: Practical WebObjects Authentification scheme
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 9 Dec 2004 09:30:56 -0800

No.  Data is split among tables in vertical inheritance.


On Dec 9, 2004, at 8:46 AM, Erwin wrote:

I found very interesting the Authentification scheme in chap 4 of PWO (using horizontal inheritance)
starting from top to bottom :


TOP : AbtractUser (extends EOGenericRecord) 2 attributes only 'oid' and 'userID'

2nd level : adding another attribute 'credential'
DigestedPasswordUser (extends AbstractUser) inherits 'oid' and 'userID'
EncryptedPasswordUser (extends AbstractUser) inherits 'oid' and 'userID'
SimplePasswordUser (extends AbstractUser) inherits 'oid' and 'userID'


Then I defined my project classes at the 3rd level adding attribute names, phone,...
Administrator (extends DigestedPasswordUser) inherits 'oid' , 'userID' and 'credential'
Member (extends EncryptedPasswordUser) inherits 'oid' , 'userID' and 'credential'
Visitor (extends SimplePasswordUser) inherits 'oid' , 'userID' and 'credential'


It works fine, but isn't strange to get data only in the 3rd level tables ??

Erwin _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
village.net


This email sent to email@hidden
--
Practical WebObjects - a book for intermediate WebObjects developers who want to increase their overall knowledge of WebObjects, or those who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects




_______________________________________________
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: 
 >Practical WebObjects Authentification scheme (From: Erwin <email@hidden>)

  • Prev by Date: Re: Apache Rewrite [L,PT] vs [L,R], sessions, and WebObjects
  • Next by Date: Re: Apache Rewrite [L,PT] vs [L,R], sessions, and WebObjects
  • Previous by thread: Practical WebObjects Authentification scheme
  • Next by thread: Model prototypes and frameworks
  • Index(es):
    • Date
    • Thread