[Phpslash-devel] new slashAuth.class, slashAuthCR.class
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2004-04-20 18:28:48
|
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 |