Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2011
698
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. security:
  2. providers:
  3. main:
  4. entity_user:
  5. class: Test\MyBundle\Entity\User
  6. property: email
  7. entity_account:
  8. class: Test\MyBundle\Entity\Account
  9. property: username
  10. encoders:
  11. Test\MyBundle\Entity\User:
  12. algorithm: sha512
  13. iterations: 4
  14. encode_as_base64: false
  15. Test\MyBundle\Entity\Account:
  16. algorithm: md5
  17. iterations: 1
  18. encode_as_base64: true
  19. firewalls:
  20. user_secured_area:
  21. pattern: /users/.*
  22. anonymous: ~
  23. form_login:
  24. check_path: /users/login_check
  25. login_path: /user_login
  26. logout:
  27. path: /users/logout
  28. target: /
  29. account_secured_area:
  30. pattern: /accounts/.*
  31. anonymous: ~
  32. form_login:
  33. check_path: /accounts/login_check
  34. login_path: /account_login
  35. logout:
  36. path: /accounts/logout
  37. target: /
  38. access_control:
  39. user_area:
  40. path: /users/.*
  41. roles: ROLE_USER
  42. account_area:
  43. path: /accounts/.*
  44. roles: ROLE_ADMIN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement