new slashAuth.class, slashAuthCR.class

Joe Stewart <[email protected]> Tue, 20 Apr 2004 13:30:10 -0500
Newsgroups gmane.comp.cms.phpslash.devel
Message-ID <[email protected]>
Would like anyone able to test the cvs to help out.

The auth classes have been rearranged in a few different ways:

1.  duplicate code moved to methods
2.  moved slashAuthCR.class to slashAuth.class and renamed the class to 
    slashAuth_base.  Created class slashAuth in class/authtypes/slashAuthCR.class
    that extends slashAuth_base.
3.  Created auth.type config item to define type of authentication.
4.  class slashAuth has two new methods - psl_validate and psl_preauth.
    These two methods return true or false whether user is authenticated.
    The base class takes care of everything else regarding psl authorization.


Other authentication types may require overriding a base class method or additional 
hooks.

Joe
 


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click