简体   繁体   中英

Disconnect Fr3d LDAP bundle from FOS User Bundle

I am trying to use Fr3d LDAP bundle with Symfony2 to authenticate users before entering my site.

Unfortunately, I am unable to modify the schema to form the necessary user table required by FOS User Bundle. This leads me to trying to bypass the FOS User Bundle and just use the functionality in Fr3d LDAP bundle.

Does anyone have any information on how to do this? I've looked all over and haven't found anything.

Yes, is possible use FR3DLdapBundle without FOSUserBundle.

Just change service.user_manager with your own user manager ( https://github.com/Maks3w/FR3DLdapBundle/blob/2.0.x/Resources/doc/index.md )

This is the interface that you should implement https://github.com/Maks3w/FR3DLdapBundle/blob/2.0.x/Model/UserManagerInterface.php

*This is a copy of the comment Disconnect Fr3d LDAP bundle from FOS User Bundle *

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM