security_acl.xml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <container xmlns="http://symfony.com/schema/dic/services"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
  5. <parameters>
  6. <parameter key="security.acl.permission_granting_strategy.class">Symfony\Component\Security\Acl\Domain\PermissionGrantingStrategy</parameter>
  7. <parameter key="security.acl.voter.class">Symfony\Component\Security\Acl\Voter\AclVoter</parameter>
  8. <parameter key="security.acl.permission.map.class">Symfony\Component\Security\Acl\Permission\BasicPermissionMap</parameter>
  9. <parameter key="security.acl.object_identity_retrieval_strategy.class">Symfony\Component\Security\Acl\Domain\ObjectIdentityRetrievalStrategy</parameter>
  10. <parameter key="security.acl.security_identity_retrieval_strategy.class">Symfony\Component\Security\Acl\Domain\SecurityIdentityRetrievalStrategy</parameter>
  11. <!-- never used? -->
  12. <parameter key="security.acl.collection_cache.class">Symfony\Component\Security\Acl\Domain\AclCollectionCache</parameter>
  13. <parameter key="security.acl.cache.doctrine.class">Symfony\Component\Security\Acl\Domain\DoctrineAclCache</parameter>
  14. </parameters>
  15. <services>
  16. <service id="security.acl.object_identity_retrieval_strategy" class="%security.acl.object_identity_retrieval_strategy.class%" public="false" />
  17. <service id="security.acl.security_identity_retrieval_strategy" class="%security.acl.security_identity_retrieval_strategy.class%" public="false">
  18. <argument type="service" id="security.role_hierarchy" />
  19. <argument type="service" id="security.authentication.trust_resolver" />
  20. </service>
  21. <service id="security.acl.permission_granting_strategy" class="%security.acl.permission_granting_strategy.class%" public="false">
  22. <call method="setAuditLogger">
  23. <argument type="service" id="security.acl.audit_logger" on-invalid="ignore" />
  24. </call>
  25. </service>
  26. <service id="security.acl.permission.map" class="%security.acl.permission.map.class%" public="false" />
  27. <service id="security.acl.voter.basic_permissions" class="%security.acl.voter.class%" public="false">
  28. <tag name="monolog.logger" channel="security" />
  29. <argument type="service" id="security.acl.provider" />
  30. <argument type="service" id="security.acl.object_identity_retrieval_strategy" />
  31. <argument type="service" id="security.acl.security_identity_retrieval_strategy" />
  32. <argument type="service" id="security.acl.permission.map" />
  33. <argument type="service" id="logger" on-invalid="null" />
  34. <tag name="security.voter" priority="255" />
  35. </service>
  36. </services>
  37. </container>