@@ -48,7 +48,7 @@ configuration looks like this:
48
48
pattern : ^/(_(profiler|wdt)|css|images|js)/
49
49
security : false
50
50
51
- default :
51
+ main :
52
52
anonymous : ~
53
53
54
54
.. code-block :: xml
@@ -70,7 +70,7 @@ configuration looks like this:
70
70
pattern =" ^/(_(profiler|wdt)|css|images|js)/"
71
71
security =" false" />
72
72
73
- <firewall name =" default " >
73
+ <firewall name =" main " >
74
74
<anonymous />
75
75
</firewall >
76
76
</config >
@@ -90,7 +90,7 @@ configuration looks like this:
90
90
'pattern' => '^/(_(profiler|wdt)|css|images|js)/',
91
91
'security' => false,
92
92
),
93
- 'default ' => array(
93
+ 'main ' => array(
94
94
'anonymous' => null,
95
95
),
96
96
),
@@ -106,7 +106,7 @@ by your security.
106
106
You can also match a request against other details of the request (e.g. host). For more
107
107
information and examples read :doc: `/security/firewall_restriction `.
108
108
109
- All other URLs will be handled by the ``default `` firewall (no ``pattern ``
109
+ All other URLs will be handled by the ``main `` firewall (no ``pattern ``
110
110
key means it matches *all * URLs). You can think of the firewall like your
111
111
security system, and so it usually makes sense to have just one main firewall.
112
112
But this does *not * mean that every URL requires authentication - the ``anonymous ``
@@ -144,7 +144,7 @@ To activate this, add the ``http_basic`` key under your firewall:
144
144
145
145
firewalls :
146
146
# ...
147
- default :
147
+ main :
148
148
anonymous : ~
149
149
http_basic : ~
150
150
@@ -161,7 +161,7 @@ To activate this, add the ``http_basic`` key under your firewall:
161
161
<config >
162
162
<!-- ... -->
163
163
164
- <firewall name =" default " >
164
+ <firewall name =" main " >
165
165
<anonymous />
166
166
<http-basic />
167
167
</firewall >
@@ -175,7 +175,7 @@ To activate this, add the ``http_basic`` key under your firewall:
175
175
// ...
176
176
'firewalls' => array(
177
177
// ...
178
- 'default ' => array(
178
+ 'main ' => array(
179
179
'anonymous' => null,
180
180
'http_basic' => null,
181
181
),
@@ -216,7 +216,7 @@ user to be logged in to access this URL:
216
216
# ...
217
217
firewalls :
218
218
# ...
219
- default :
219
+ main :
220
220
# ...
221
221
222
222
access_control :
@@ -236,7 +236,7 @@ user to be logged in to access this URL:
236
236
<config >
237
237
<!-- ... -->
238
238
239
- <firewall name =" default " >
239
+ <firewall name =" main " >
240
240
<!-- ... -->
241
241
</firewall >
242
242
@@ -252,7 +252,7 @@ user to be logged in to access this URL:
252
252
// ...
253
253
'firewalls' => array(
254
254
// ...
255
- 'default ' => array(
255
+ 'main ' => array(
256
256
// ...
257
257
),
258
258
),
@@ -707,7 +707,7 @@ URL pattern. You saw this earlier, where anything matching the regular expressio
707
707
708
708
firewalls :
709
709
# ...
710
- default :
710
+ main :
711
711
# ...
712
712
713
713
access_control :
@@ -727,7 +727,7 @@ URL pattern. You saw this earlier, where anything matching the regular expressio
727
727
<config >
728
728
<!-- ... -->
729
729
730
- <firewall name =" default " >
730
+ <firewall name =" main " >
731
731
<!-- ... -->
732
732
</firewall >
733
733
@@ -744,7 +744,7 @@ URL pattern. You saw this earlier, where anything matching the regular expressio
744
744
745
745
'firewalls' => array(
746
746
// ...
747
- 'default ' => array(
747
+ 'main ' => array(
748
748
// ...
749
749
),
750
750
),
0 commit comments