configuration.rst 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. Configuration
  2. -------------
  3. Below, you find the default configuration:
  4. .. configuration-block ::
  5. .. code-block :: yaml
  6. # app/config/config.yml
  7. jms_security_extra:
  8. # Whether you want to secure all services (true), or only secure specific
  9. # services (false); see also below
  10. secure_all_services: false
  11. # Enabling this setting will add an additional special attribute "IS_IDDQD".
  12. # Anybody with this attribute will effectively bypass all security checks.
  13. enable_iddqd_attribute: false
  14. # Enables expression language
  15. expressions: false
  16. # Allows you to disable some, or all built-in voters
  17. voters:
  18. disable_authenticated: false
  19. disable_role: false
  20. disable_acl: false
  21. # Allows you to specify access control rules for specific methods, such
  22. # as controller actions
  23. method_access_control: { }
  24. util:
  25. secure_random:
  26. connection: # the doctrine connection name
  27. table_name: seed_table
  28. seed_provider: # service id of your own seed provider implementation
  29. .. code-block :: xml
  30. <jms-security-extra
  31. secure-all-services="false"
  32. enable-iddqd-attribute="false"
  33. expressions="false">
  34. <voters disable-authenticated="false"
  35. disable-role="false"
  36. disable-acl="false" />
  37. <util>
  38. <secure-random
  39. connection="default"
  40. table-name="seed-table"
  41. seed-provider="some-service-id" />
  42. </util>
  43. </jms-security-extra>