Advertisement
Guest User

Untitled

a guest
Jul 12th, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. security:
  2. providers:
  3. admin:
  4. memory:
  5. users:
  6. admin: { password: secret, roles: [ 'ROLE_ADMIN' ] }
  7. aimeos_customer:
  8. entity: { class: AimeosShopBundle:User, property: username }
  9. in_memory:
  10. memory: ~
  11.  
  12. encoders:
  13. SymfonyComponentSecurityCoreUserUser: plaintext
  14. AimeosShopBundleEntityUser:
  15. algorithm: sha1
  16. encode_as_base64: false
  17. iterations: 1
  18.  
  19. firewalls:
  20. aimeos_admin:
  21. pattern: ^/(admin|extadm|jqadm|jsonadm)
  22. anonymous: ~
  23. provider: admin
  24. form_login:
  25. login_path: /admin
  26. check_path: /admin_check
  27. aimeos_myaccount:
  28. pattern: ^/myaccount
  29. provider: aimeos_customer
  30. http_basic:
  31. realm: "MyAccount"
  32. main:
  33. anonymous: ~
  34.  
  35. access_control:
  36. - { path: ^/(extadm|jqadm|jsonadm), roles: ROLE_ADMIN }
  37. - { path: ^/myaccount, roles: ROLE_USER }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement