25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 
 

34 satır
1.0 KiB

  1. security:
  2. # https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers
  3. providers:
  4. my_entity_users:
  5. entity:
  6. class: App\Entity\EntUser
  7. firewalls:
  8. dev:
  9. pattern: ^/(_(profiler|wdt)|css|images|js)/
  10. security: false
  11. main:
  12. anonymous: ~
  13. guard:
  14. authenticators:
  15. - json_guard_authenticator
  16. logout:
  17. path: /logout
  18. # activate different ways to authenticate
  19. # http_basic: true
  20. # https://symfony.com/doc/current/security.html#a-configuring-how-your-users-will-authenticate
  21. # form_login: true
  22. # https://symfony.com/doc/current/security/form_login_setup.html
  23. # Easy way to control access for large sections of your site
  24. # Note: Only the *first* access control that matches will be used
  25. access_control:
  26. # - { path: ^/images, roles: ROLE_VIEWER }
  27. # - { path: ^/profile, roles: ROLE_USER }