<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 22 May 2013 08:31:25 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Robert Basic's Blog: Importing Symfony2 security settings from a bundle]]></title>
      <guid>http://www.phpdeveloper.org/news/16772</guid>
      <link>http://www.phpdeveloper.org/news/16772</link>
      <description><![CDATA[<p>
In a new post to his blog <i>Robert Basic</i> takes a brief look at <a href="http://robertbasic.com/blog/importing-symfony2-security-settings-from-a-bundle/">importing Symfony2 security settings</a> from a bundle he's been creating back into the main configuration.
</p>
<blockquote>
I started to work on/figuring out the <a href="http://symfony.com/doc/current/book/security.html">security part</a> in Symfony2 and one part where the docs fail so far is to explain how to import security settings from a bundle. Once I put some thinking into it, it's pretty easy actually. Simply import the needed security file in your main config file.
</blockquote>
<p>
His trick is to use the "imports" key in his YAML config file to define the resource to pull from in his config.xml. More information on the format of the security file can be <a href="http://symfony.com/doc/current/book/security.html#basic-example-http-authentication">found here</a> in the Symfony documentation. It helps you define authentication mechanisms, authorization models and working with access control and roles. 
</p>]]></description>
      <pubDate>Thu, 25 Aug 2011 11:58:40 -0500</pubDate>
    </item>
  </channel>
</rss>
