Guest User

Untitled

a guest
Dec 2nd, 2018
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. jms_security_extra:
  2. secure_all_services: false
  3. expressions: true
  4.  
  5. security:
  6. encoders:
  7. Symfony\Component\Security\Core\User\User: plaintext
  8.  
  9. role_hierarchy:
  10. ROLE_ADMIN: ROLE_USER
  11. ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]
  12.  
  13. providers:
  14. in_memory:
  15. memory:
  16. users:
  17. user: { password: userpass, roles: [ 'ROLE_USER' ] }
  18.  
  19. firewalls:
  20. dev:
  21. pattern: ^/(_(profiler|wdt)|css|images|js)/
  22. security: false
  23.  
  24. access_control:
  25. #- { path: ^/_internal/secure, roles: IS_AUTHENTICATED_ANONYMOUSLY, ip: 127.0.0.1 }
Add Comment
Please, Sign In to add comment