2012-09-03 19:27:50 +00:00
|
|
|
jms_security_extra:
|
|
|
|
secure_all_services: false
|
|
|
|
expressions: true
|
|
|
|
|
2012-06-14 21:21:55 +00:00
|
|
|
security:
|
|
|
|
encoders:
|
2012-09-04 15:21:04 +00:00
|
|
|
GergelyPolonkai\FrontBundle\Entity\User:
|
|
|
|
id: gergely_polonkai_front.service.crypt_encoder
|
2012-06-14 21:21:55 +00:00
|
|
|
|
|
|
|
role_hierarchy:
|
|
|
|
ROLE_ADMIN: ROLE_USER
|
|
|
|
ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]
|
|
|
|
|
|
|
|
providers:
|
2012-09-04 15:21:04 +00:00
|
|
|
gergely_polonkai_front.entity.user:
|
|
|
|
entity:
|
|
|
|
class: GergelyPolonkai\FrontBundle\Entity\User
|
|
|
|
property: username
|
2012-06-14 21:21:55 +00:00
|
|
|
|
|
|
|
firewalls:
|
|
|
|
dev:
|
|
|
|
pattern: ^/(_(profiler|wdt)|css|images|js)/
|
|
|
|
security: false
|
|
|
|
|
|
|
|
login:
|
2012-09-04 15:21:04 +00:00
|
|
|
pattern: ^/admin/login.html$
|
2012-06-14 21:21:55 +00:00
|
|
|
security: false
|
|
|
|
|
|
|
|
secured_area:
|
2012-09-04 15:21:04 +00:00
|
|
|
pattern: ^/admin
|
2012-06-14 21:21:55 +00:00
|
|
|
form_login:
|
2012-09-04 15:21:04 +00:00
|
|
|
check_path: /admin/login-check.do
|
|
|
|
login_path: /admin/login.html
|
2012-06-14 21:21:55 +00:00
|
|
|
logout:
|
2012-09-04 15:21:04 +00:00
|
|
|
path: /admin/logout
|
|
|
|
target: /
|
2012-06-14 21:21:55 +00:00
|
|
|
#anonymous: ~
|
|
|
|
#http_basic:
|
|
|
|
# realm: "Secured Demo Area"
|
|
|
|
|
|
|
|
access_control:
|
|
|
|
#- { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY, requires_channel: https }
|
2012-09-03 19:27:50 +00:00
|
|
|
#- { path: ^/_internal/secure, roles: IS_AUTHENTICATED_ANONYMOUSLY, ip: 127.0.0.1 }
|