OpenID and LDAP
Antonio Martinez Martinez
amm03 at tid.es
Wed Apr 11 00:42:35 PDT 2007
Jonathan Daugherty escribió:
> # 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,
>
>
Thanks a lot for your comment, Jonathan, but I'm still having 2 doubts:
1) When you say "make sure AuthBackend_LDAP is included in the
namespace", what do you refer exactly? I don't understand what
"namespace" is at all.
2) I've been reviewing the package's files, and I think that I should
change some more files, shouldn't I? I'm refering, for example, to
"storage.php", "common.php" or "backend.php".
If I'm wrong, I'd thank you to tell me which files are the only to
change and how many classes or new files should I create.
Newly, thanks in advance.
Regards,
Antonio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: amm03.vcf
Type: text/x-vcard
Size: 321 bytes
Desc: not available
Url : http://lists.openidenabled.com/pipermail/dev/attachments/20070411/c64b91a3/attachment.vcf
More information about the Dev
mailing list