Skip to content

Commit 63c57dd

Browse files
calinpristavuxabbuh
authored andcommitted
[Security] Include guard firewall configuration sample.
As per "config:dump-reference symfony" output, add the guard firewall configuration to the sample security configuration file.
1 parent f0c0fac commit 63c57dd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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)