services.xml 3.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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.secured_services" type="collection"></parameter>
  7. <parameter key="security.access.method_interceptor.class">JMS\SecurityExtraBundle\Security\Authorization\Interception\MethodSecurityInterceptor</parameter>
  8. <parameter key="security.access.run_as_manager.class">JMS\SecurityExtraBundle\Security\Authorization\RunAsManager</parameter>
  9. <parameter key="security.authentication.provider.run_as.class">JMS\SecurityExtraBundle\Security\Authentication\Provider\RunAsAuthenticationProvider</parameter>
  10. <parameter key="security.run_as.key">RunAsToken</parameter>
  11. <parameter key="security.run_as.role_prefix">ROLE_</parameter>
  12. <parameter key="security.access.after_invocation_manager.class">JMS\SecurityExtraBundle\Security\Authorization\AfterInvocation\AfterInvocationManager</parameter>
  13. <parameter key="security.access.after_invocation.acl_provider.class">JMS\SecurityExtraBundle\Security\Authorization\AfterInvocation\AclAfterInvocationProvider</parameter>
  14. <parameter key="security.extra.controller_listener.class">JMS\SecurityExtraBundle\Controller\ControllerListener</parameter>
  15. <parameter key="security.access.iddqd_voter.class">JMS\SecurityExtraBundle\Security\Authorization\Voter\IddqdVoter</parameter>
  16. </parameters>
  17. <services>
  18. <service id="security.access.run_as_manager" class="%security.access.run_as_manager.class%" public="false">
  19. <argument>%security.run_as.key%</argument>
  20. <argument>%security.run_as.role_prefix%</argument>
  21. </service>
  22. <service id="security.access.method_interceptor" class="%security.access.method_interceptor.class%">
  23. <argument type="service" id="security.context" />
  24. <argument type="service" id="security.authentication.manager" />
  25. <argument type="service" id="security.access.decision_manager" />
  26. <argument type="service" id="security.access.after_invocation_manager" />
  27. <argument type="service" id="security.access.run_as_manager" />
  28. <argument type="service" id="logger" on-invalid="null" />
  29. </service>
  30. <service id="security.access.after_invocation_manager" class="%security.access.after_invocation_manager.class%" public="false">
  31. <argument type="collection"></argument>
  32. </service>
  33. <service id="security.access.after_invocation.acl_provider" class="%security.access.after_invocation.acl_provider.class%" public="false">
  34. <argument type="service" id="security.acl.provider" />
  35. <argument type="service" id="security.acl.object_identity_retrieval_strategy" />
  36. <argument type="service" id="security.acl.security_identity_retrieval_strategy" />
  37. <argument type="service" id="security.acl.permission.map" />
  38. <tag name="security.after_invocation.provider" />
  39. </service>
  40. <service id="security.extra.iddqd_voter" class="%security.access.iddqd_voter.class%" public="false">
  41. </service>
  42. <service id="security.extra.controller_listener" class="%security.extra.controller_listener.class%">
  43. <tag name="kernel.event_listener" event="kernel.controller" method="onCoreController" priority="-255" />
  44. <argument type="service" id="service_container" />
  45. <argument type="service" id="annotation_reader" />
  46. </service>
  47. </services>
  48. </container>