PHP Classes
elePHPant
Icontem

File: Tests/Functional/config/common/security.yml

Recommend this page to a friend!
  Classes of Roni  >  Easy PHP Audit Log Bundle  >  Tests/Functional/config/common/security.yml  >  Download  
File: Tests/Functional/config/common/security.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Easy PHP Audit Log Bundle
Log specific events according to configuration
Author: By
Last change:
Date: 1 year ago
Size: 648 bytes
 

 

Contents

Class file image Download
security:
    providers:
        in_memory:
            memory:
                users:
                    admin: { password: login, roles: ['ROLE_ADMIN'] }
                    user: { password: login, roles: ['ROLE_USER'] }

    role_hierarchy:
        ROLE_ADMIN: [ROLE_USER, ROLE_ALLOWED_TO_SWITCH]

    encoders:
        Symfony\Component\Security\Core\User\UserInterface: plaintext

    firewalls:
        login_form:
                pattern: ^/login$
                security: false
        main:
            anonymous:    true
            http_basic: ~

    access_control:
        - { path: ^/public/, role: IS_AUTHENTICATED_ANONYMOUSLY }