Re: Practical WebObjects Authentification scheme
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