8000 Mentioned the new FirewallConfig class by javiereguiluz · Pull Request #9207 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Mentioned the new FirewallConfig class #9207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Mentioned the new FirewallConfig class
  • Loading branch information
javiereguiluz committed Feb 5, 2018
commit d5d12a64f8fe18a9a667c3f8e466d46e12b05385
15 changes: 15 additions & 0 deletions components/security/firewall.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,21 @@ will be dispatched by the HttpKernel at the beginning of each request
it processes. This way, the firewall may prevent the user from going any
further than allowed.

Firewall Config
~~~~~~~~~~~~~~~

.. versionadded:: 3.2
The ``FirewallConfig`` class was introduced in Symfony 3.2.

The information about a given firewall, such as its name, provider, context,
entry point and access denied URL, is provided by instances of the
:class:`Symfony\\Bundle\\SecurityBundle\\Security\\FirewallConfig` class.

This object can be accessed through the ``getFirewallConfig(Request $request)``
method of the :class:`Symfony\\Component\\Security\\Http\\FirewallMap` class and
through the ``getConfig()`` method of the
:class:`Symfony\\Bundle\\SecurityBundle\\Security\\FirewallContext` class.

.. _firewall_listeners:

Firewall Listeners
Expand Down
0