Re: slashAuth confusion - where should the code sit?

Joe Stewart <[email protected]> Mon, 20 Sep 2004 06:38:07 -0500
Newsgroups gmane.comp.cms.phpslash.devel
Message-ID <[email protected]>
On Sun, Sep 19, 2004 at 07:59:09PM +0100, Peter Cruickshank wrote:
> On the phpslash-dev CVS, the output of find -iname '*auth*' currently
> includes:
> 
> ./class/authtypes/slashAuthCR.class
> ./class/slashAuth.class
> ./class/slashAuthLDAP.class
> ./modules/auth/slashAuth.class
>

I started moving it all to the auth module directory:

./auth
./auth/authtypes
./auth/authtypes/slashAuthCR.class
./auth/authtypes/slashAuthLDAP.class
./auth/authtypes/slashAuth.class
./auth/slashAuth.class


but haven't deleted anything in the class directory yet.  I've been concentrating 
on getting my changes stable first.  They should all be done except the login and 
reg forms still are generated in the class.

The login page code has been moved to the auth directory.
The regular login form has been updated.  This will allow other auth methods, like 
LDAP, PAM, email, etc to use the password entered.

I've got untested PAM and HTTP auth methods as well as a skeleton example.  Should 
I go ahead and commit them?

> Perhaps a little tidying up is still required - I'd have thought that
> slashAuthCR.class and slashAuthLDAP.class should be in the same place, at
> least? And we probably only need one slashAuth.class...
> 

Mostly done except for the deletions.

Joe

> P
> 


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php