[pLog-general] user authenication by filter

su baochen subaochen at 126.com
Thu Nov 4 14:49:45 GMT 2004


hi,

Below is the way I have done to authenticate user by filter. But I have
not fully tested it,sorry.

1 create loginauthfilter.class.php in class/security directory, see
attachment.
2 path class/action/admin/adminaction.class.php, see attachemnt for
patch
3 create standarderrorrenderer.class.php in
class/template/errorrenderers, see attachment. I create this file
inspired by oscar's standardvalidationrenderer.class.php. 

Again, I have not tested the code under php4, sorry.
-- 
su baochen <subaochen at 126.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adminaction.patch
Type: text/x-patch
Size: 2242 bytes
Desc: not available
Url : http:// devel.lifetype.net/pipermail/plog-general/attachments/20041104/fec5aa19/adminaction-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loginauthfilter.class.php
Type: application/x-php
Size: 1383 bytes
Desc: not available
Url : http:// devel.lifetype.net/pipermail/plog-general/attachments/20041104/fec5aa19/loginauthfilter.class-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: standarderrorrenderer.class.php
Type: application/x-php
Size: 1032 bytes
Desc: not available
Url : http:// devel.lifetype.net/pipermail/plog-general/attachments/20041104/fec5aa19/standarderrorrenderer.class-0001.bin


More information about the pLog-general mailing list