Files
symfony-flex-recipes-contrib/nordeus/crowd-user-bundle/2.0/config/packages/security.yaml.example
T

25 lines
709 B
Plaintext

security:
role_hierarchy:
ROLE_ADMIN: ROLE_USER
providers:
crowd_provider:
id: crowd.user_provider
firewalls:
main:
pattern: ^/
crowd_form_login:
login_path: nordeus_crowd_user_login
check_path: nordeus_crowd_user_login_check
default_target_path: /
crowd_sso: true
logout:
path: nordeus_crowd_user_logout
anonymous: ~
access_denied_handler: crowd.access_denied_handler
access_control:
- { path: ^/(_(profiler|wdt)|img|css|js|login), role: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/, role: ROLE_USER }