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 33550f5

Browse filesBrowse files
committed
minor #9207 Mentioned the new FirewallConfig class (javiereguiluz)
This PR was merged into the 3.4 branch. Discussion ---------- Mentioned the new FirewallConfig class This fixes #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
Copy full SHA for 33550f5

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+15
-0
lines changed

‎components/security/firewall.rst

Copy file name to clipboardExpand all lines: components/security/firewall.rst
+15Lines changed: 15 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.