Skip to content

Commit 06b7cb0

Browse files
committed
Minor tweaks for previous merge
1 parent dd9ce78 commit 06b7cb0

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

security/firewall_restriction.rst

+14-12
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,29 @@
44
How to Restrict Firewalls to a Specific Request
55
===============================================
66

7-
When using the Security component, firewalls will decide whether they handle a request based on the
8-
result of a request matcher: the first firewall matching the request will handle it.
7+
When using the Security component, firewalls will decide whether they handle a
8+
request based on the result of a request matcher: the first firewall matching
9+
the request will handle it.
910

10-
The last firewall can be configured without any matcher to handle every incoming request.
11+
The last firewall can be configured without any matcher to handle every incoming
12+
request.
1113

1214
Restricting by Configuration
1315
----------------------------
1416

15-
Most of the time you don't need to create matchers yourself as Symfony can do it for you based on the
16-
firewall configuration.
17+
Most of the time you don't need to create matchers yourself as Symfony can do it
18+
for you based on the firewall configuration.
1719

1820
.. note::
1921

20-
You can use any of the following restrictions individually or mix them together to get
21-
your desired firewall configuration.
22+
You can use any of the following restrictions individually or mix them
23+
together to get your desired firewall configuration.
2224

2325
Restricting by Path
2426
~~~~~~~~~~~~~~~~~~~
2527

26-
This is the default restriction and restricts a firewall to only be initialized if the request path
27-
matches the configured ``pattern``.
28+
This is the default restriction and restricts a firewall to only be initialized
29+
if the request path matches the configured ``pattern``.
2830

2931
.. configuration-block::
3032

@@ -201,7 +203,7 @@ If the above options don't fit your needs you can configure any service implemen
201203

202204
.. code-block:: yaml
203205
204-
# config/packages/security.yaml
206+
# app/config/security.yaml
205207
206208
# ...
207209
security:
@@ -212,7 +214,7 @@ If the above options don't fit your needs you can configure any service implemen
212214
213215
.. code-block:: xml
214216
215-
<!-- config/packages/security.xml -->
217+
<!-- app/config/security.xml -->
216218
<?xml version="1.0" encoding="UTF-8"?>
217219
<srv:container xmlns="http://symfony.com/schema/dic/security"
218220
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -230,7 +232,7 @@ If the above options don't fit your needs you can configure any service implemen
230232
231233
.. code-block:: php
232234
233-
// config/packages/security.php
235+
// app/config/security.php
234236
235237
// ...
236238
$container->loadFromExtension('security', [

0 commit comments

Comments
 (0)