Skip to content

Commit

Permalink
minor #6253 [Security] Include guard firewall configuration sample. (…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
xabbuh committed Feb 10, 2016
2 parents f0c0fac + 63c57dd commit be7efd6
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 be7efd6

Please sign in to comment.