diff --git a/cookbook/security/entity_provider.rst b/cookbook/security/entity_provider.rst
index c0f128b8097..29a632c38af 100644
--- a/cookbook/security/entity_provider.rst
+++ b/cookbook/security/entity_provider.rst
@@ -216,7 +216,7 @@ the username and then check the password (more on passwords in a moment):
# manager_name: customer
firewalls:
- default:
+ main:
pattern: ^/
http_basic: ~
provider: our_db_provider
@@ -244,7 +244,7 @@ the username and then check the password (more on passwords in a moment):
-
+
@@ -273,7 +273,7 @@ the username and then check the password (more on passwords in a moment):
),
),
'firewalls' => array(
- 'default' => array(
+ 'main' => array(
'pattern' => '^/',
'http_basic' => null,
'provider' => 'our_db_provider',
diff --git a/cookbook/security/form_login_setup.rst b/cookbook/security/form_login_setup.rst
index a1c3e3a1a05..190879f7a61 100644
--- a/cookbook/security/form_login_setup.rst
+++ b/cookbook/security/form_login_setup.rst
@@ -27,7 +27,7 @@ First, enable form login under your firewall:
# ...
firewalls:
- default:
+ main:
anonymous: ~
http_basic: ~
form_login:
@@ -45,7 +45,7 @@ First, enable form login under your firewall:
http://symfony.com/schema/dic/services/services-1.0.xsd">
-
+
@@ -58,7 +58,7 @@ First, enable form login under your firewall:
// app/config/security.php
$container->loadFromExtension('security', array(
'firewalls' => array(
- 'default' => array(
+ 'main' => array(
'anonymous' => null,
'http_basic' => null,
'form_login' => array(
diff --git a/cookbook/security/remember_me.rst b/cookbook/security/remember_me.rst
index 68c6daaab2c..366a2959b95 100644
--- a/cookbook/security/remember_me.rst
+++ b/cookbook/security/remember_me.rst
@@ -19,7 +19,7 @@ the session lasts using a cookie with the ``remember_me`` firewall option:
# ...
firewalls:
- default:
+ main:
# ...
remember_me:
key: "%secret%"
@@ -43,7 +43,7 @@ the session lasts using a cookie with the ``remember_me`` firewall option:
-
+
@@ -65,7 +65,7 @@ the session lasts using a cookie with the ``remember_me`` firewall option:
// ...
'firewalls' => array(
- 'default' => array(
+ 'main' => array(
// ...
'remember_me' => array(
'key' => '%secret%',