Re: WO-Java Client Newbie Question

Benjamin J Doherty <[email protected]>
Newsgroups gmane.comp.web.webobjects.newbies
Message-ID <[email protected]>
On Nov 22, 2004, at 10:42 AM, Des Oates wrote:

> Thanks for these great pointers.   It's meant a
> rethink to my application but I am clearer in how this
> all works.   Hopefully its just a case of working
> through this framework, and reapplying it to my own
> app.   The framework's source is also a helpful
> reference well  -- Especially since Google returns  a
> whole 2 hits on "JCAuthentication" (One of which is
> Apple's online docs)
>

There's no documentation for JCAuthentication except what's in the 
framework source code itself.  You won't find references to it on 
Google unless they're questions posed by yours truly about making the 
framework into a JAR for servlet deployment.

Probably the dilemma you're facing is one where you had a 
task-privilege based system (user can do X but not Y) rather than a 
role based system (user is "Staff" which has these privileges) already 
thought out?  You probably want a role based system anyway, because 
this more closely resembles an LDAP schema's organizational units.  
(Talking out my arse on that last sentence.)

But what you should recognize is that if you already had set up a User 
entity that had a login and password, you're already set up for 
JCAuthentication.framework.  All you need to do is get that custom EO 
logic in the User class that creates the defaults for you on a user's 
first login.

Cheers,

Benjamin in Chicago



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/webobjects-newbies/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.