Skip to content

Commit 806573a

Browse files
Merging two paragraphs
Page: https://symfony.com/doc/5.4/security.html#frequently-asked-questions * The second one mainly repeated the first one; there was only 1 sentence really new, so I merged them. * I removed the part that multiple firewalls are usually not needed. Reason: "Each firewall is like a separate security system" says it all.
1 parent db6aa08 commit 806573a

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

security.rst

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2661,18 +2661,12 @@ Frequently Asked Questions
26612661
--------------------------
26622662

26632663
**Can I have Multiple Firewalls?**
2664-
Yes! But it's usually not necessary. Each firewall is like a separate security
2665-
system, being authenticated in one firewall doesn't make you authenticated in
2666-
another one. One firewall can have multiple diverse ways of allowing
2667-
authentication (e.g. form login, API key authentication and LDAP).
2668-
2669-
**Can I Share Authentication Between Firewalls?**
2670-
Yes, but only with some configuration. If you're using multiple firewalls and
2671-
you authenticate against one firewall, you will *not* be authenticated against
2672-
any other firewalls automatically. Different firewalls are like different security
2673-
systems. To do this you have to explicitly specify the same
2674-
:ref:`reference-security-firewall-context` for different firewalls. However,
2675-
one main firewall is usually sufficient for the needs of most applications.
2664+
Yes! Each firewall is like a separate security system, being authenticated in one
2665+
firewall doesn't make you authenticated in another one. Each firewall can have
2666+
multiple ways of allowing authentication (e.g. form login, and API key authentication).
2667+
If you want to share authentication between firewalls,
2668+
you have to explicitly specify the same
2669+
:ref:`reference-security-firewall-context` for different firewalls.
26762670

26772671
**Security doesn't seem to work on my Error Pages**
26782672
As routing is done *before* security, 404 error pages are not covered by

0 commit comments

Comments
 (0)