Skip to content

Commit

Permalink
added missing examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond committed May 28, 2012
1 parent 91ff414 commit 505a694
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 7 deletions.
7 changes: 5 additions & 2 deletions reference/configuration/doctrine.rst
Expand Up @@ -11,14 +11,16 @@ Configuration Reference
doctrine: doctrine:
dbal: dbal:
default_connection: ~ default_connection: default
types: types:
# Prototype # Prototype
name: name:
class: ~ # Required class: ~ # Required
commented: true commented: true
connections: connections:
default:
dbname: database
# Prototype # Prototype
name: name:
Expand Down Expand Up @@ -98,6 +100,7 @@ Configuration Reference
# Configuring MultipleActiveResultSets for the pdo_sqlsrv driver # Configuring MultipleActiveResultSets for the pdo_sqlsrv driver
MultipleActiveResultSets: ~ MultipleActiveResultSets: ~
orm: orm:
default_entity_manager: ~ default_entity_manager: ~
auto_generate_proxy_classes: false auto_generate_proxy_classes: false
Expand Down
4 changes: 2 additions & 2 deletions reference/configuration/monolog.rst
Expand Up @@ -21,7 +21,7 @@ Configuration Reference
processors: processors:
- some_callable - some_callable
main: main:
type: fingerscrossed type: fingers_crossed
action_level: WARNING action_level: WARNING
buffer_size: 30 buffer_size: 30
handler: custom handler: custom
Expand Down Expand Up @@ -50,7 +50,7 @@ Configuration Reference
to_email: ~ to_email: ~
subject: ~ subject: ~
email_prototype: email_prototype:
id: ~ # Required id: ~ # Required (when the email_prototype is used)
factory-method: ~ factory-method: ~
channels: channels:
type: ~ type: ~
Expand Down
62 changes: 60 additions & 2 deletions reference/configuration/security.rst
Expand Up @@ -46,8 +46,8 @@ Each part will be explained in the next section.
security_identity: acl_security_identities security_identity: acl_security_identities
voter: voter:
allow_if_object_identity_unavailable: true allow_if_object_identity_unavailable: true
encoders:
encoders:
# Examples: # Examples:
Acme\DemoBundle\Entity\User1: sha512 Acme\DemoBundle\Entity\User1: sha512
Acme\DemoBundle\Entity\User2: Acme\DemoBundle\Entity\User2:
Expand All @@ -62,8 +62,8 @@ Each part will be explained in the next section.
encode_as_base64: true encode_as_base64: true
iterations: 5000 iterations: 5000
id: ~ id: ~
providers: # Required
providers: # Required
# Examples: # Examples:
memory: memory:
name: memory name: memory
Expand All @@ -84,7 +84,64 @@ Each part will be explained in the next section.
id: ~ id: ~
chain: chain:
providers: [] providers: []
firewalls: # Required firewalls: # Required
# Examples:
somename:
pattern: .*
request_matcher: some.service.id
access_denied_url: /foo/error403
access_denied_handler: some.service.id
entry_point: some.service.id
provider: name
context: name
stateless: false
x509:
provider: name
http_basic:
provider: name
http_digest:
provider: name
form_login:
check_path: /login_check
login_path: /login
use_forward: false
always_use_default_target_path: false
default_target_path: /
target_path_parameter: _target_path
use_referer: false
failure_path: /foo
failure_forward: false
failure_handler: some.service.id
success_handler: some.service.id
username_parameter: _username
password_parameter: _password
csrf_parameter: _csrf_token
intention: authenticate
csrf_provider: my.csrf_provider.id
post_only: true
remember_me: false
remember_me:
token_provider: name
key: someS3cretKey
name: NameOfTheCookie
lifetime: 3600 # in seconds
path: /foo
domain: somedomain.foo
secure: false
httponly: true
always_remember_me: false
remember_me_parameter: _remember_me
logout:
path: /logout
target: /
invalidate_session: false
delete_cookies:
a: { path: null, domain: null }
b: { path: null, domain: null }
handlers: [some.service.id, another.service.id]
success_handler: some.service.id
anonymous: ~
# Prototype # Prototype
name: name:
Expand Down Expand Up @@ -118,6 +175,7 @@ Each part will be explained in the next section.
provider: ~ provider: ~
parameter: _switch_user parameter: _switch_user
role: ROLE_ALLOWED_TO_SWITCH role: ROLE_ALLOWED_TO_SWITCH
access_control: access_control:
requires_channel: ~ requires_channel: ~
Expand Down
2 changes: 1 addition & 1 deletion reference/configuration/swiftmailer.rst
Expand Up @@ -193,4 +193,4 @@ Full Default Configuration
sleep: 0 sleep: 0
delivery_address: ~ delivery_address: ~
disable_delivery: ~ disable_delivery: ~
logging: true logging: %kernel.debug%
2 changes: 2 additions & 0 deletions reference/configuration/web_profiler.rst
Expand Up @@ -15,6 +15,8 @@ Full Default Configuration
# DEPRECATED, it is not useful anymore and can be removed safely from your configuration # DEPRECATED, it is not useful anymore and can be removed safely from your configuration
verbose: true verbose: true
# display the web debug toolbar at the bottom of pages with a summary of profiler info
toolbar: false toolbar: false
position: bottom position: bottom
intercept_redirects: false intercept_redirects: false

0 comments on commit 505a694

Please sign in to comment.