3 Wallabag\CoreBundle\Entity\User:
5 encode_as_base64: false
10 ROLE_SUPER_ADMIN: [ ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH ]
14 entity: { class: WallabagCoreBundle:User, property: username }
16 # the main part of the security, where you can set up firewalls
17 # for specific sections of your app
36 check_path: /login_check
40 always_use_default_target_path: true
41 default_target_path: /
42 target_path_parameter: redirect_url
46 failure_forward: false
48 username_parameter: _username
49 password_parameter: _password
51 csrf_parameter: _csrf_token
52 intention: authenticate
59 - { path: ^/api/salt, roles: IS_AUTHENTICATED_ANONYMOUSLY }
60 - { path: ^/api/doc, roles: IS_AUTHENTICATED_ANONYMOUSLY }
61 - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
62 - { path: ^/, roles: ROLE_USER }