On 20.01.2011, at 18:18, Fabien Potencier wrote: > On 1/20/11 6:15 PM, Jeremy Mikola wrote: >> I came across SensioCasBundle's YML test config and it appears this can >> be done using a "templates:" option for "security.config:", as shown >> here: >> https://github.com/sensio/CasBundle/blob/master/Resources/config/Tests/config.yml >> >> Not entirely intuitive, but this seems to be the official solution. > > Yes, that's also used in my FacebookBundle. And by the way, with the new > bundle management, the following line > > template: > %kernel.root_dir%/../src/Bundle/Sensio/CasBundle/Resources/config/security_templates.xml > > will be replaced with the more easy to read and less fragile: > > template: @SensioCasBundle/Resources/config/security_templates.xml
it should be noted that security context templates can only be written in XML. 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] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
