I haven't used filters yet, but askeet's day 18 [1] and the Book's chapter 6 [2] deal with filters, and the latter one seems to be good enough for a kickstart.
[1] http://www.symfony-project.org/askeet/1_0/en/18#chapter_18_create-a-filter [2] http://www.symfony-project.org/book/1_2/06-Inside-the-Controller-Layer#chapter_06_filters On Thu, Apr 9, 2009 at 14:45, HAUSa <jeroen_heeft_behoefte_aan_r...@hotmail.com> wrote: > > Maybe you can explain me how to use sfBasicSecurityFilter? How do I > create a filter? > There is not good documentation about this. > > > On 9 apr, 14:10, HAUSa <jeroen_heeft_behoefte_aan_r...@hotmail.com> > wrote: >> Ok, I will look into it. Thank you! >> More suggestions are welcome :) >> >> On 9 apr, 13:54, FÁSI Gábor <maerl...@gmail.com> wrote: >> >> > I don't think you can make this .yml file dynamic, but you can create >> > dynamic credential checks with something like sfBasicSecurityFilter. >> > You can check its source >> > here:http://trac.symfony-project.org/browser/branches/1.2/lib/filter/sfBas... >> > Focus on the forwardToSecureAction() and forwardToLoginAction() functions. >> >> > On Thu, Apr 9, 2009 at 13:08, HAUSa >> >> > <jeroen_heeft_behoefte_aan_r...@hotmail.com> wrote: >> >> > > * reminder * >> > > I really need this, can anyone help me please? :) >> > > Thx in advance! >> >> > > On 8 apr, 19:48, HAUSa <jeroen_heeft_behoefte_aan_r...@hotmail.com> >> > > wrote: >> > >> Is there a way to dynamically generate the security.yml file? >> >> > >> In that file you can configure which credentials are required for the >> > >> execution of an action. But I want top users to be able to configure >> > >> the credentials themselfs in web forms, they need to be able to choose >> > >> which >> > >> credentials are required for the different modules. >> >> > >> That's why I want to set the credentials in the security.yml >> > >> dynamically with PHP. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---