Discussion:
[Phpslash-devel] new slashAuth.class, slashAuthCR.class
Joe Stewart
2004-04-20 16:29:02 UTC
Permalink
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
Joe Stewart
2004-04-21 09:32:02 UTC
Permalink
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

Loading...