I encountered a problem with this yesterday, attempting to override a firewall in our generic config for our test environment's config (which extends the generic). Since firewalls each get unique names upon processing, there's no way to override them... the first "main:" may become "main13414" and the second config's "main:" may be "main9890".
Processing configs only once should indeed help this, provided they are permitted to overwrite each other. I suppose the merge-logic would be a subsequent "main:" block should completely override a previous "main:"? On Fri, Jan 14, 2011 at 10:36 AM, Lukas Kahwe Smith <[email protected]>wrote: > > On 14.01.2011, at 16:30, Lukas Kahwe Smith wrote: > > > Hi, > > > > I have tried for many hours now to get this to work. > > I want to add http-basic auth to my config _only_ for testing. > > > > Just doing the following in my config_test.yml explodes with a config > error: > > security.config: > > firewalls: > > main: > > http-basic: true > > > > Same if I do: > > > > security.config: > > providers: > > main: > > id: fos_user.user_manager > > > > firewalls: > > main: > > http-basic: true > > > > Then I tried using parameters but that also doesnt set the http basic > auth in the config, since it seems like it already evaluates the parameter > in the first config: > > http://pastebin.com/kngdnuuE > > > > I guess when we only do the load call only once, this issue should be > fixed. Not sure what to do in the mean time though :( > > > To make matters worse, I just discovered that setting "http-basic: false" > doesnt disable http basic auth :( > > regards, > Lukas Kahwe Smith > [email protected] > > > > -- > 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 developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<symfony-devs%[email protected]> > For more options, visit this group at > http://groups.google.com/group/symfony-devs?hl=en > -- jeremy mikola -- 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 developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
