2012-07-01 07:52:20 +00:00
|
|
|
jms_security_extra:
|
|
|
|
secure_all_services: false
|
|
|
|
expressions: true
|
|
|
|
|
|
|
|
security:
|
2012-08-19 11:44:40 +00:00
|
|
|
acl:
|
|
|
|
connection: default
|
|
|
|
|
2012-07-01 07:52:20 +00:00
|
|
|
encoders:
|
|
|
|
Symfony\Component\Security\Core\User\User: plaintext
|
2012-07-15 12:56:31 +00:00
|
|
|
KekRozsak\SecurityBundle\Entity\User:
|
2012-07-02 20:41:06 +00:00
|
|
|
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:
|
2012-07-15 12:56:31 +00:00
|
|
|
class: KekRozsak\SecurityBundle\Entity\User
|
2012-07-02 20:41:06 +00:00
|
|
|
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-08-15 10:07:20 +00:00
|
|
|
stylesheets:
|
|
|
|
pattern: \.css$
|
|
|
|
security: false
|
|
|
|
|
2012-08-15 12:25:08 +00:00
|
|
|
news_side_list:
|
|
|
|
pattern: ^/newsSideList.html$
|
|
|
|
security: false
|
|
|
|
|
2012-07-02 20:41:06 +00:00
|
|
|
members:
|
|
|
|
pattern: ^/
|
2012-07-15 12:56:31 +00:00
|
|
|
|
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-15 12:56:31 +00:00
|
|
|
- { path: ^/most_varj, 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 }
|