tags:

views:

221

answers:

2

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?

+1  A: 

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) ...

back2dos
+1  A: 

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
Fedyashev Nikita
Looks useful for some intranet applications, but it's still far behind Acegi. Only LDAP is supported, while Acegi also supports OpenID, Facebook Connect, NTLM, Kerberos and more. I still have to use RPX.
Milan Babuškov
Answer has been updated. Zend_Auth can handle OpenID authentication. IMO, it is the most mature solution in PHP stack at the moment, BUT it is not a full clone of acegi security though.
Fedyashev Nikita