I am trying to configure a custom user provider in synfony 2 to create a login mechanism using the DB as a storage system. Just as the tutorial says I have added this definition to my security.xml
<provider name="in_db">
<entity class="Nourdine\BusinessBundle\Entity\AuthenticatedUser" property="username" />
</provider>
unfortunately this break everything and I get a nasty:
InvalidConfigurationException: Unrecognized options "entity" under "security.providers.in_db"
What am I doing wrong?
thanks