OpenID and LDAP
Jonathan Daugherty
cygnus at janrain.com
Tue Apr 10 10:08:57 PDT 2007
# I've been working with the JanRain php library 'standalone' version.
If you're referring to the "standalone PHP OpenID server" located at
http://www.openidenabled.com/openid/php-standalone-openid-server/
then the solution is to implement a new "auth" backend. The package
lets you specify your own auth backend if you have decided to
implement one; the default is src/auth.php:AuthBackend_MYSQL. The
solution is to write a class that implements the same interface as
AuthBackend_MYSQL and update config.php to use it. For example,
implement AuthBackend_LDAP and update AUTH_BACKEND in config.php to
the value 'LDAP'. (And, of course, make sure AuthBackend_LDAP is
included in the namespace.)
HTH,
--
Jonathan Daugherty
JanRain, Inc.
irc.freenode.net: cygnus in #openid
cygnus.myopenid.com
More information about the Dev
mailing list