From 63c57dd8c6b7915924a3de653bff117970c8a1bc Mon Sep 17 00:00:00 2001 From: Calin Pristavu Date: Wed, 10 Feb 2016 15:39:56 +0200 Subject: [PATCH] [Security] Include guard firewall configuration sample. As per "config:dump-reference symfony" output, add the guard firewall configuration to the sample security configuration file. --- reference/configuration/security.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/reference/configuration/security.rst b/reference/configuration/security.rst index a9b25ceb5e9..c3e723cf487 100644 --- a/reference/configuration/security.rst +++ b/reference/configuration/security.rst @@ -133,6 +133,15 @@ Each part will be explained in the next section. provider: some_key_from_above http_digest: provider: some_key_from_above + guard: + # A key from the "providers" section of your security config, in case your user provider is different than the firewall + provider: ~ + + # A service id (of one of your authenticators) whose start() method should be called when an anonymous user hits a page that requires authentication + entry_point: null + + # An array of service ids for all of your "authenticators" + authenticators: [] form_login: # submit the login form here check_path: /login_check