Mercurial > hg > dml-open-vis
annotate app/config/security.yml.http-dml.dist @ 1:f38015048f48 tip
Added GPL
author | Daniel Wolff |
---|---|
date | Sat, 13 Feb 2016 20:43:38 +0100 |
parents | 493bcb69166c |
children |
rev | line source |
---|---|
Daniel@0 | 1 security: |
Daniel@0 | 2 firewalls: |
Daniel@0 | 3 secured_area: |
Daniel@0 | 4 pattern: ^/ |
Daniel@0 | 5 anonymous: false |
Daniel@0 | 6 http_basic: |
Daniel@0 | 7 realm: "Please enter login and password that were sent you via email" |
Daniel@0 | 8 |
Daniel@0 | 9 access_control: |
Daniel@0 | 10 - { path: ^/, roles: ROLE_USER } |
Daniel@0 | 11 # Include the following line to also secure the /admin path itself |
Daniel@0 | 12 # - { path: ^/admin$, roles: ROLE_ADMIN } |
Daniel@0 | 13 |
Daniel@0 | 14 providers: |
Daniel@0 | 15 in_memory: |
Daniel@0 | 16 memory: |
Daniel@0 | 17 users: |
Daniel@0 | 18 dml: { password: dev, roles: 'ROLE_USER' } |
Daniel@0 | 19 encoders: |
Daniel@0 | 20 Symfony\Component\Security\Core\User\User: plaintext |