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
34 check_path: /login_check
38 always_use_default_target_path: true
39 default_target_path: /
40 target_path_parameter: redirect_url
44 failure_forward: false
46 username_parameter: _username
47 password_parameter: _password
49 csrf_parameter: _csrf_token
50 intention: authenticate
57 - { path: ^/api/doc, roles: IS_AUTHENTICATED_ANONYMOUSLY }
58 - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
59 - { path: ^/, roles: ROLE_USER }