aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config/security.yml
diff options
context:
space:
mode:
Diffstat (limited to 'app/config/security.yml')
-rw-r--r--app/config/security.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/app/config/security.yml b/app/config/security.yml
index e161c3b5..e06c8967 100644
--- a/app/config/security.yml
+++ b/app/config/security.yml
@@ -16,9 +16,11 @@ security:
16 # the main part of the security, where you can set up firewalls 16 # the main part of the security, where you can set up firewalls
17 # for specific sections of your app 17 # for specific sections of your app
18 firewalls: 18 firewalls:
19 #wsse_secured: 19 wsse_secured:
20 # pattern: /api/.* 20 pattern: /api/.*
21 # wsse: true 21 wsse: true
22 stateless: true
23 anonymous: true
22 login_firewall: 24 login_firewall:
23 pattern: ^/login$ 25 pattern: ^/login$
24 anonymous: ~ 26 anonymous: ~
@@ -54,6 +56,7 @@ security:
54 target: / 56 target: /
55 57
56 access_control: 58 access_control:
59 - { path: ^/api/salt, roles: IS_AUTHENTICATED_ANONYMOUSLY }
57 - { path: ^/api/doc, roles: IS_AUTHENTICATED_ANONYMOUSLY } 60 - { path: ^/api/doc, roles: IS_AUTHENTICATED_ANONYMOUSLY }
58 - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY } 61 - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
59 - { path: ^/, roles: ROLE_USER } 62 - { path: ^/, roles: ROLE_USER }