Re: [symfony-users] Symfony2 authentication with User Entity

2011-03-28 Thread oscar balladares
Hi, this is the best security tutorial for S2 I have read. http://www.dobervich.com/2011/03/21/symfony2-blog-application-tutorial-part-v-intro-to-security/ 2011/3/23 Vincent Lechemin > Hi, > > On Wed, Mar 23, 2011 at 4:34 PM, Sergi wrote: > >public function getSalt() > >{ > >re

Re: [symfony-users] Symfony2 authentication with User Entity

2011-03-24 Thread Vincent Lechemin
Hi, On Wed, Mar 23, 2011 at 4:34 PM, Sergi wrote: >    public function getSalt() >    { >        return $this->getId(); >    } Did you encrypt your password with this salt? -- Vincent -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.co

[symfony-users] Symfony2 authentication with User Entity

2011-03-23 Thread Sergi
Hi, I think I've tried all code in all posts about authentication with (doctrine) Entity in Symfony2. And I can make it work. When I use in_memory provider all works fine. I'm using the PR8. My security.yml security: encoders: Partners\FrontendBundle\Entity\User: plaintext #