Update custom_authentication_provider.rst

Necessary to avoid : Failed to start the session because headers have already been sent
This commit is contained in:
Valentin Ferriere
2013-06-20 16:20:22 +02:00
committed by Ryan Weaver
parent bd63f2648a
commit cb531fd07d

View File

@@ -463,12 +463,14 @@ You are finished! You can now define parts of your app as under WSSE protection.
firewalls:
wsse_secured:
pattern: /api/.*
stateless: true
wsse: true
.. code-block:: xml
<config>
<firewall name="wsse_secured" pattern="/api/.*">
<stateless />
<wsse />
</firewall>
</config>
@@ -479,6 +481,7 @@ You are finished! You can now define parts of your app as under WSSE protection.
'firewalls' => array(
'wsse_secured' => array(
'pattern' => '/api/.*',
'stateless' => true,
'wsse' => true,
),
),
@@ -563,6 +566,7 @@ set to any desirable value per firewall.
firewalls:
wsse_secured:
pattern: /api/.*
stateless: true
wsse: { lifetime: 30 }
.. code-block:: xml
@@ -571,6 +575,7 @@ set to any desirable value per firewall.
<firewall name="wsse_secured"
pattern="/api/.*"
>
<stateless />
<wsse lifetime="30" />
</firewall>
</config>
@@ -581,6 +586,7 @@ set to any desirable value per firewall.
'firewalls' => array(
'wsse_secured' => array(
'pattern' => '/api/.*',
'stateless' => true,
'wsse' => array(
'lifetime' => 30,
),