[symfony-users] Re: Custom user authorization

2011-05-26 Thread umpirsky
Latest checkpoint, security.yml: security: encoders: Symfony\Component\Security\Core\User\User: plaintext providers: in_memory: users: sas: { password: bb87a29949f3a1ee0559f8a57357487151281386, roles: 'ROLE_USER' } admin: { pas

[symfony-users] Re: Custom user authorization

2011-05-26 Thread umpirsky
Now I'm getting 'LogicException' with message 'No authentication listener registered for pattern "^/". and it looks like I'm not alone http://forum.symfony-project.org/viewtopic.php?f=23&t=35423 On May 26, 11:58 am, umpirsky wrote: > I managed to implement my own factory class UrlLoginFactory

[symfony-users] Re: Custom user authorization

2011-05-26 Thread umpirsky
I managed to implement my own factory class UrlLoginFactory extends AbstractFactory defined in my security_factories.xml and tell Symfony to use it. I also know that I should implement my AbstractAuthenticationListener, but I don't see the way to tell Symfony to use my listener. Config just let yo

[symfony-users] Re: Custom user authorization

2011-05-25 Thread umpirsky
Thank you for your answer, really appriciate it. So, I was going the wrong way. I have implemented UserProviderInterface, which is, now I see only used to retreive available users. If you can tell me what interface should I nimplement and how to enable it via security.yml config, that would help.