Skip to content

Commit 33550f5

Browse files
committed
minor symfony#9207 Mentioned the new FirewallConfig class (javiereguiluz)
This PR was merged into the 3.4 branch. Discussion ---------- Mentioned the new FirewallConfig class This fixes symfony#7164. @chalasr it'd be great to add some example ... but I don't know how to do that. Could you please help me? Thanks! Commits ------- 6f4469c Mentioned the new FirewallConfig class
2 parents 9ac45bd + 6f4469c commit 33550f5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

components/security/firewall.rst

+15
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,21 @@ will be dispatched by the HttpKernel at the beginning of each request
8888
it processes. This way, the firewall may prevent the user from going any
8989
further than allowed.
9090

91+
Firewall Config
92+
~~~~~~~~~~~~~~~
93+
94+
.. versionadded:: 3.2
95+
The ``FirewallConfig`` class was introduced in Symfony 3.2.
96+
97+
The information about a given firewall, such as its name, provider, context,
98+
entry point and access denied URL, is provided by instances of the
99+
:class:`Symfony\\Bundle\\SecurityBundle\\Security\\FirewallConfig` class.
100+
101+
This object can be accessed through the ``getFirewallConfig(Request $request)``
102+
method of the :class:`Symfony\\Component\\Security\\Http\\FirewallMap` class and
103+
through the ``getConfig()`` method of the
104+
:class:`Symfony\\Bundle\\SecurityBundle\\Security\\FirewallContext` class.
105+
91106
.. _firewall_listeners:
92107

93108
Firewall Listeners

0 commit comments

Comments
 (0)