security.yml 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. imports:
  2. - { resource: "@MuzichCoreBundle/Resources/config/security.yml" }
  3. #security:
  4. # encoders:
  5. # Symfony\Component\Security\Core\User\User: plaintext
  6. #
  7. # role_hierarchy:
  8. # ROLE_ADMIN: ROLE_USER
  9. # ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]
  10. #
  11. # providers:
  12. # in_memory:
  13. # users:
  14. # user: { password: userpass, roles: [ 'ROLE_USER' ] }
  15. # admin: { password: adminpass, roles: [ 'ROLE_ADMIN' ] }
  16. #
  17. # firewalls:
  18. # dev:
  19. # pattern: ^/(_(profiler|wdt)|css|images|js)/
  20. # security: false
  21. #
  22. # login:
  23. # pattern: ^/demo/secured/login$
  24. # security: false
  25. #
  26. # secured_area:
  27. # pattern: ^/demo/secured/
  28. # form_login:
  29. # check_path: /demo/secured/login_check
  30. # login_path: /demo/secured/login
  31. # logout:
  32. # path: /demo/secured/logout
  33. # target: /demo/
  34. # #anonymous: ~
  35. # #http_basic:
  36. # # realm: "Secured Demo Area"
  37. #
  38. # access_control:
  39. # #- { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY, requires_channel: https }
  40. # #- { path: ^/_internal, roles: IS_AUTHENTICATED_ANONYMOUSLY, ip: 127.0.0.1 }