diff options
Diffstat (limited to 'app/config')
-rw-r--r-- | app/config/config_prod.yml | 5 | ||||
-rw-r--r-- | app/config/security.yml | 9 |
2 files changed, 11 insertions, 3 deletions
diff --git a/app/config/config_prod.yml b/app/config/config_prod.yml index 342837a0..c45f0fa6 100644 --- a/app/config/config_prod.yml +++ b/app/config/config_prod.yml | |||
@@ -17,6 +17,11 @@ monolog: | |||
17 | type: fingers_crossed | 17 | type: fingers_crossed |
18 | action_level: error | 18 | action_level: error |
19 | handler: nested | 19 | handler: nested |
20 | wsse: | ||
21 | type: stream | ||
22 | path: %kernel.logs_dir%/%kernel.environment%.wsse.log | ||
23 | level: error | ||
24 | channels: [wsse] | ||
20 | nested: | 25 | nested: |
21 | type: stream | 26 | type: stream |
22 | path: "%kernel.logs_dir%/%kernel.environment%.log" | 27 | path: "%kernel.logs_dir%/%kernel.environment%.log" |
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 } |