2012-07-01 07:52:20 +00:00
|
|
|
jms_security_extra:
|
|
|
|
secure_all_services: false
|
|
|
|
expressions: true
|
|
|
|
|
|
|
|
security:
|
|
|
|
encoders:
|
|
|
|
Symfony\Component\Security\Core\User\User: plaintext
|
2012-07-02 20:41:06 +00:00
|
|
|
KekRozsak\FrontBundle\Entity\User:
|
|
|
|
id: kek_rozsak_security.encoder.crypt
|
2012-07-01 07:52:20 +00:00
|
|
|
|
|
|
|
role_hierarchy:
|
|
|
|
ROLE_ADMIN: ROLE_USER
|
|
|
|
ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]
|
|
|
|
|
|
|
|
providers:
|
2012-07-02 20:41:06 +00:00
|
|
|
user_db:
|
|
|
|
entity:
|
|
|
|
class: KekRozsak\FrontBundle\Entity\User
|
|
|
|
property: username
|
2012-07-01 07:52:20 +00:00
|
|
|
|
|
|
|
firewalls:
|
|
|
|
dev:
|
|
|
|
pattern: ^/(_(profiler|wdt)|css|images|js)/
|
|
|
|
security: false
|
|
|
|
|
|
|
|
login:
|
2012-07-02 20:41:06 +00:00
|
|
|
pattern: ^/login$
|
2012-07-01 07:52:20 +00:00
|
|
|
security: false
|
|
|
|
|
2012-07-02 20:41:06 +00:00
|
|
|
members:
|
|
|
|
pattern: ^/
|
2012-07-01 07:52:20 +00:00
|
|
|
form_login:
|
2012-07-02 20:41:06 +00:00
|
|
|
check_path: /login_check
|
|
|
|
login_path: /login
|
2012-07-01 07:52:20 +00:00
|
|
|
logout:
|
2012-07-02 20:41:06 +00:00
|
|
|
path: /logout
|
|
|
|
target: /
|
|
|
|
anonymous: ~
|
2012-07-01 07:52:20 +00:00
|
|
|
|
|
|
|
access_control:
|
2012-07-02 20:41:06 +00:00
|
|
|
- { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
|
|
|
|
- { path: ^/$, roles: IS_AUTHENTICATED_ANONYMOUSLY }
|
|
|
|
- { path: ^/cikk/, roles: IS_AUTHENTICATED_ANONYMOUSLY }
|
2012-07-07 09:13:13 +00:00
|
|
|
- { path: ^/jelentkezes, roles: IS_AUTHENTICATED_ANONYMOUSLY }
|
2012-07-02 20:41:06 +00:00
|
|
|
- { path: ^/, roles: [ IS_AUTHENTICATED_FULLY, IS_AUTHENTICATED_REMEMBERED ] }
|
2012-07-01 07:52:20 +00:00
|
|
|
#- { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY, requires_channel: https }
|
|
|
|
#- { path: ^/_internal/secure, roles: IS_AUTHENTICATED_ANONYMOUSLY, ip: 127.0.0.1 }
|