Advertisement
Guest User

Untitled

a guest
Mar 2nd, 2016
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.56 KB | None | 0 0
  1. security:
  2.  
  3. providers:
  4. in_memory:
  5. memory:
  6. users:
  7. user:
  8. password: user
  9. roles: 'ROLE_USER'
  10. admin:
  11. password: admin
  12. roles: 'ROLE_ADMIN'
  13.  
  14. firewalls:
  15. dev:
  16. pattern: ^/(_(profiler|wdt)|css|images|js)/
  17. security: false
  18.  
  19. secured_area:
  20. anonymous: ~
  21. http_basic: ~
  22. access_denied_url: backoffice_access_denied
  23.  
  24. form_login:
  25. login_path: /backoffice/login
  26. check_path: /backoffice/login_check
  27.  
  28. logout:
  29. path: /backoffice/logout
  30. target: /backoffice
  31.  
  32. encoders:
  33. SymfonyComponentSecurityCoreUserUser: plaintext
  34.  
  35. role_hierarchy:
  36. ROLE_ADMIN: ROLE_USER
  37. ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]
  38.  
  39. access_control:
  40. - { path: ^/backoffice/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
  41. - { path: ^/backoffice, roles: ROLE_ADMIN }
  42.  
  43. backoffice_logout:
  44. path: /backoffice/logout
  45.  
  46. backoffice_login_check:
  47. path: /backoffice/login_check
  48.  
  49. [2016-03-02 10:39:54] request.INFO: Matched route "backoffice_login_check". {"route_parameters":{"_route":"backoffice_login_check"},"request_uri":"http://DOMAIN/backoffice/login_check"} []
  50. [2016-03-02 10:39:54] security.INFO: User has been authenticated successfully. {"username":"admin"} []
  51. [2016-03-02 10:39:54] event.DEBUG: Listener "SymfonyComponentSecurityHttpFirewall::onKernelRequest" stopped propagation of the event "kernel.request". [] []
  52. [2016-03-02 10:39:54] event.DEBUG: Listener "SymfonyBundleAsseticBundleEventListenerRequestListener::onKernelRequest" was not called for event "kernel.request". [] []
  53. [2016-03-02 10:39:54] security.DEBUG: Stored the security token in the session. {"key":"_security_secured_area"} []
  54. [2016-03-02 10:39:54] request.INFO: Matched route "backoffice_index_lead". {"route_parameters":{"_controller":"XXX\AppBundle\Controller\DefaultController::leadAction","_route":"backoffice_index_lead"},"request_uri":"http://DOMAIN/backoffice/lead"} []
  55. [2016-03-02 10:39:54] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
  56. [2016-03-02 10:39:54] security.DEBUG: Access denied, the user is not fully authenticated; redirecting to authentication entry point. {"exception":"[object] (Symfony\Component\Security\Core\Exception\AccessDeniedException(code: 403): Access Denied. at /site/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/AccessListener.php:70)"} []
  57. [2016-03-02 10:39:54] security.DEBUG: Calling Authentication entry point. [] []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement