Skip to content

Commit be7efd6

Browse files
committed
minor #6253 [Security] Include guard firewall configuration sample. (calinpristavu)
This PR was submitted for the master branch but it was merged into the 2.8 branch instead (closes #6253). Discussion ---------- [Security] Include guard firewall configuration sample. As per "`config:dump-reference symfony`" output, add the guard firewall configuration to the sample security configuration file. `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: [] ` Commits ------- 63c57dd [Security] Include guard firewall configuration sample.
2 parents f0c0fac + 63c57dd commit be7efd6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

reference/configuration/security.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,15 @@ Each part will be explained in the next section.
133133
provider: some_key_from_above
134134
http_digest:
135135
provider: some_key_from_above
136+
guard:
137+
# A key from the "providers" section of your security config, in case your user provider is different than the firewall
138+
provider: ~
139+
140+
# A service id (of one of your authenticators) whose start() method should be called when an anonymous user hits a page that requires authentication
141+
entry_point: null
142+
143+
# An array of service ids for all of your "authenticators"
144+
authenticators: []
136145
form_login:
137146
# submit the login form here
138147
check_path: /login_check

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy