Dobervich? the one from http://www.dobervich.com/ ???

Hey dude, I'm a big fan of your blog, hope you can update it!!

I'll check your implementation to do things as they should.

Regards! (Sorry for spaming :(

2011/5/14 dustin10 <ddoberv...@gmail.com>

> I don't think it can be done using security.yml. I implemented something
> similar using a kernel listener. I listened for two events
> onSecurityInteractiveLogin and onCoreResponse. When they log in, you want to
> check if they are an admin and if they are then set a flag to redirect them
> in the onCoreReponse event. If they aren't an admin then they will just be
> redirected to whatever you specify in security.yml or where they were going
> then the authentication challenge was necessary. Here is some code to look
> at:
>
> Listener class: http://pastebin.com/kcd5DjsS
>
> Service definition: http://pastebin.com/KhQf9A1U
>
> Dustin Dobervich
> ddoberv...@gmail.com
>
>  --
> 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
>

-- 
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