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

Diff for: reference/configuration/security.rst

+9
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)