Skip to content

Commit

Permalink
[Security] Include guard firewall configuration sample.
Browse files Browse the repository at this point in the history
As per "config:dump-reference symfony" output, add the guard firewall configuration to the sample security configuration file.
  • Loading branch information
calinpristavu authored and xabbuh committed Feb 10, 2016
1 parent f0c0fac commit 63c57dd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions reference/configuration/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 63c57dd

Please sign in to comment.