Is there something like Acegi for PHP?
-
12-09-2019 - |
Question
In Java world, Acegi is a powerful security framework based on Spring that allows you to simply manage authentication and authorization. AFAIU, it supports OpenID, and Facebook Connect, LDAP, NTLM, Kerberos, etc. via Grails. If you are interested how it works, take a look at diagrams in this tutorial
Anyway, this is all cool, but I'm developing a PHP application (using CodeIgniter, FWIW) and I'm looking for something similar for PHP?
Solution
Acegi security is great.
Combination of Zend_Auth + Zend_Acl components from Zend Framework gives me a decent substition of acegi security in PHP.
You can use just a few components from the Zend framework and still work in your CodeIgniter environment though.
Updated: Zend_Auth provides the following authentication methods:
- Digest realm
- LDAP
- OpenId
- InfoCard
OTHER TIPS
you should have a look at Flow3 framework ... it has been inspired by Spring a lot, having a similar security mechanism like Sprig Security (or Acegi, if you want) ...
greetz
back2dos