Solved using injectyn doctrine.orm.entity_manager service touching factory
.xml config.
On Friday, October 5, 2012 2:21:17 PM UTC+1, Emilio Sosa wrote:
> Hi, I'm using an LDAP Bundle ( this exactly
> http://knpbundles.com/BorisMorel/LdapBundle ) but I need to add some
> functionality connecting to a database for adding more info at Roles
> property.
> I have tried to connect to doctrine in LdapUserProvider.loadUserByUsername
> but I don't know how to access doctrine service.
> I have tried extending Container and other classes but I feel like I'm
> missing something.
> What should be the way?