Welcome Guest, Not a member yet? Register   Sign In
Easily extensible auth library
#3

[eluser]jpi[/eluser]
Quote:Yesterday I had a brief look at the Zend auth library and I actually liked what I saw.
Me too, it is just perfect. Easy to use and easy to understand. Plus it has a great doc and hundreds of examples on the Internet.

Quote: logout, check_permission.
Check permission is a matter of ACL. It's very important to keep authentication and authorization separated.

You also forgot that Zend_Auth has a possibility to set different "storage" to make authentication persistent.

My only question is : why do you want to reinvent the wheel ? Just copy Zend_Auth.php and the Auth directory from ZF, change a few lines in Zend_Auth_Adapter_DbTable to make it working with CI active record and a few lines in Zend_Auth_Storage_Interfac to make it working with CI session and you are all done !

I have already done that and it works like a charm. And if you think, like me, that Zend_Auth lack some feature (add/delete a user) you can easily extend it !


Messages In This Thread
Easily extensible auth library - by El Forum - 08-24-2009, 07:32 AM
Easily extensible auth library - by El Forum - 08-24-2009, 10:16 AM
Easily extensible auth library - by El Forum - 08-24-2009, 11:15 AM
Easily extensible auth library - by El Forum - 08-24-2009, 11:55 AM
Easily extensible auth library - by El Forum - 08-24-2009, 02:52 PM
Easily extensible auth library - by El Forum - 08-24-2009, 11:42 PM
Easily extensible auth library - by El Forum - 08-25-2009, 09:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB