Created
September 11, 2014 11:02
-
-
Save JulienItard/37fc0c53cf43f60754e2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
security: | |
encoders: | |
FOS\UserBundle\Model\UserInterface: sha512 | |
role_hierarchy: | |
ROLE_ADMIN: [ROLE_EXTRANET, ROLE_USER] | |
ROLE_SUPER_ADMIN: [ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH] | |
providers: | |
fos_userbundle: | |
id: fos_user.user_provider.username | |
firewalls: | |
main: | |
pattern: ^/ | |
anonymous: true | |
form_login: | |
provider: fos_userbundle | |
csrf_provider: form.csrf_provider | |
login_path: fos_user_security_login | |
check_path: /user/login_check | |
remember_me: true | |
logout: | |
path: fos_user_security_logout | |
target: / | |
remember_me: | |
key: %secret% | |
access_control: | |
- { host: backoffice.suite-privee.tld, role: ROLE_ADMIN } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment