Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cb531fd

Browse filesBrowse files
choomzweaverryan
authored andcommitted
Update custom_authentication_provider.rst
Necessary to avoid : Failed to start the session because headers have already been sent
1 parent bd63f26 commit cb531fd
Copy full SHA for cb531fd

File tree

Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed

‎cookbook/security/custom_authentication_provider.rst

Copy file name to clipboardExpand all lines: cookbook/security/custom_authentication_provider.rst
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,12 +463,14 @@ You are finished! You can now define parts of your app as under WSSE protection.
463463
firewalls:
464464
wsse_secured:
465465
pattern: /api/.*
466+
stateless: true
466467
wsse: true
467468
468469
.. code-block:: xml
469470
470471
<config>
471472
<firewall name="wsse_secured" pattern="/api/.*">
473+
<stateless />
472474
<wsse />
473475
</firewall>
474476
</config>
@@ -479,6 +481,7 @@ You are finished! You can now define parts of your app as under WSSE protection.
479481
'firewalls' => array(
480482
'wsse_secured' => array(
481483
'pattern' => '/api/.*',
484+
'stateless' => true,
482485
'wsse' => true,
483486
),
484487
),
@@ -563,6 +566,7 @@ set to any desirable value per firewall.
563566
firewalls:
564567
wsse_secured:
565568
pattern: /api/.*
569+
stateless: true
566570
wsse: { lifetime: 30 }
567571
568572
.. code-block:: xml
@@ -571,6 +575,7 @@ set to any desirable value per firewall.
571575
<firewall name="wsse_secured"
572576
pattern="/api/.*"
573577
>
578+
<stateless />
574579
<wsse lifetime="30" />
575580
</firewall>
576581
</config>
@@ -581,6 +586,7 @@ set to any desirable value per firewall.
581586
'firewalls' => array(
582587
'wsse_secured' => array(
583588
'pattern' => '/api/.*',
589+
'stateless' => true,
584590
'wsse' => array(
585591
'lifetime' => 30,
586592
),

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.