2015-03-22 17:22:49 +00:00
|
|
|
security:
|
|
|
|
providers:
|
|
|
|
in_memory:
|
|
|
|
memory: ~
|
|
|
|
|
|
|
|
firewalls:
|
|
|
|
dev:
|
|
|
|
pattern: ^/(_(profiler|wdt|error)|css|images|js)/
|
|
|
|
security: false
|
|
|
|
|
|
|
|
default:
|
2019-04-03 17:16:34 +00:00
|
|
|
# Needs to be changed if authentication is added
|
|
|
|
# Also it needs to be carefully checked that after enabling security here
|
|
|
|
# \Symfony\Component\Security\Http\Firewall\ExceptionListener::handleAccessDeniedException() doesn't start to replace 403 by 401 exceptions
|
|
|
|
# for all users
|
|
|
|
# For example \Skobkin\Bundle\PointToolsBundle\Controller\PostController::showAction() can return AccessDeniedException and this logic must be saved
|
|
|
|
# After enabling authentication
|
|
|
|
security: false
|
|
|
|
#anonymous: true
|