Skip to content

Commit

Permalink
Add versionadded tag to security config reference, reference cookbok …
Browse files Browse the repository at this point in the history
…entry in book
  • Loading branch information
ghostika committed Jan 11, 2014
1 parent cc8d19a commit 3e42b84
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 4 additions & 3 deletions book/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ Let's look briefly at how security works and how each part of the configuration
comes into play.

.. versionadded:: 2.4
A new property was added to the firewall configuration, where you can
make a restriction, called ``host``.
Support for restricting security firewalls to a specific host was added in
Symfony 2.4.

How Security Works: Authentication and Authorization
----------------------------------------------------
Expand Down Expand Up @@ -1102,7 +1102,7 @@ Thanks to the SensioFrameworkExtraBundle, you can also secure your controller us
// ...
}

For more information, see the
For more information, see the
:doc:`FrameworkExtraBundle documentation </bundles/SensioFrameworkExtraBundle/annotations/security>`.

Securing other Services
Expand Down Expand Up @@ -2168,6 +2168,7 @@ Learn more from the Cookbook
* :doc:`Blacklist users by IP address with a custom voter </cookbook/security/voters>`
* :doc:`Access Control Lists (ACLs) </cookbook/security/acl>`
* :doc:`/cookbook/security/remember_me`
* :doc:`How to Restrict Firewalls to a Specific Host </cookbook/security/host_restriction>`

.. _`FOSUserBundle`: https://github.com/FriendsOfSymfony/FOSUserBundle
.. _`implement the \Serializable interface`: http://php.net/manual/en/class.serializable.php
Expand Down
4 changes: 4 additions & 0 deletions reference/configuration/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ Full Default Configuration
The following is the full default configuration for the security system.
Each part will be explained in the next section.

.. versionadded:: 2.4
Support for restricting security firewalls to a specific host was added in
Symfony 2.4.

.. configuration-block::

.. code-block:: yaml
Expand Down

0 comments on commit 3e42b84

Please sign in to comment.