Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- security:
- providers:
- admin:
- memory:
- users:
- admin: { password: secret, roles: [ 'ROLE_ADMIN' ] }
- aimeos_customer:
- entity: { class: AimeosShopBundle:User, property: username }
- in_memory:
- memory: ~
- encoders:
- SymfonyComponentSecurityCoreUserUser: plaintext
- AimeosShopBundleEntityUser:
- algorithm: sha1
- encode_as_base64: false
- iterations: 1
- firewalls:
- aimeos_admin:
- pattern: ^/(admin|extadm|jqadm|jsonadm)
- anonymous: ~
- provider: admin
- form_login:
- login_path: /admin
- check_path: /admin_check
- aimeos_myaccount:
- pattern: ^/myaccount
- provider: aimeos_customer
- http_basic:
- realm: "MyAccount"
- main:
- anonymous: ~
- access_control:
- - { path: ^/(extadm|jqadm|jsonadm), roles: ROLE_ADMIN }
- - { path: ^/myaccount, roles: ROLE_USER }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement