LDAP integration in Symfony2

2019-06-25 00:16发布

I'm new to symfony & LDAP. Is there any step by step tutorial or videos to integrate LDAP in symfony2?

标签: symfony ldap
3条回答
对你真心纯属浪费
2楼-- · 2019-06-25 00:34

FOSUserBundle is a bundle for authenticate users against a DB, if you don't want manager your users with the DB then you must do a little customizations for break the dependency in FR3DLdapBundle.

Writing your own UserManager and setting it in the configuration should be enough.

The UserManager is used for create the User instance the first time.

查看更多
Lonely孤独者°
3楼-- · 2019-06-25 00:41

I don't know any tutorial or video about LDAP in Symfony2 but here are 2 bundles I used in many projects:

查看更多
Fickle 薄情
4楼-- · 2019-06-25 00:43

Newer versions of Symfony2 should have LDAP support already in there. If you are constrained to an older version, consider using DapsBundle, since its functionality is patterned after Symfony2's upgrade path, meaning it should be easier for you when you do upgrade your Symfony2 version.. You can learn more about on my blog at http://robertelwell.info/blog/daps-ldap-symfony2/.

查看更多
登录 后发表回答