Skip to content

Commit 6f4469c

Browse files
committed
Mentioned the new FirewallConfig class
1 parent 9ac45bd commit 6f4469c

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)