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 <umpir...@gmail.com> wrote:
> 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 you enable custom 
> factorieshttp://symfony.com/doc/current/reference/configuration/security.html,
> but listeners are defined in separate config file. So, I don't know
> how to force it to use my custom listener.
>
> Any idea?
>
> On May 25, 7:36 pm, umpirsky <umpir...@gmail.com> wrote:
>
>
>
>
>
>
>
> > 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.
>
> > It looks like I need to implement UserAuthenticationProvider
> > implements AuthenticationProviderInterface but I'm not sure. Not sure
> > how to enable it either.
>
> > On May 25, 2:32 pm, Christophe COEVOET <s...@notk.org> wrote:
>
> > > Le 25/05/2011 14:25, umpirsky a crit :> I want to implement simple user 
> > > authorization via hash url. I see
> > > > there is support for in memmory auth, simple HTTP auth and login form.
>
> > > > Is there any way to implement custom authorization, in my case via
> > > > hash url? Ofc, I will implement auth algorithm, but I want Symfony to
> > > > handle the rest: session management...
>
> > > The Security component is fully extendable. You can add new security
> > > listeners to add new authentication methods. But it is not the basic way
> > > so it will require some work. and it is not documented yet.
>
> > > --
> > > Christophe | Stof

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to