Skip to content

recognizegroup/dwh-application-symfony-bundle

Folders and files

NameName
Last commit message
Last commit date
Jan 31, 2024
Jan 31, 2024
Mar 21, 2024
Jan 31, 2024
Sep 11, 2024
Mar 21, 2024
Nov 25, 2019
Aug 13, 2020
Jan 31, 2024
Sep 12, 2024
Jun 5, 2019
May 31, 2019
Sep 14, 2021
Jun 4, 2019
Jan 31, 2024
Jan 31, 2024
Jan 31, 2024
Jan 31, 2024
Jan 31, 2024

Repository files navigation

Recognize DWH Application Bundle

Installation

Security

Add the following in config/packages/security.yaml: User provider:

providers:
    dwhsecurity:
        id: Recognize\DwhApplication\Security\DwhUserProvider

User encoder (currently only bcrypt supported):

encoders:
    Recognize\DwhApplication\Model\DwhUser: bcrypt

Firewall for the DWH-bridge:

firewalls:
    recognize_dhw:
        pattern: ^/api/dwh
        http_basic:
            realm: Recognize DWH
            provider: dwhsecurity
        anonymous: false
        stateless: true

Ensure authentication for DWH-API paths:

access_control:
    - { path: ^/api/dwh, roles: ROLE_DWH_BRIDGE }

Configuration

The encrypted token requires a token that is encrypted with the specified encryption.

recognize_dwh:
    protocol_version: 1.0.0
    specification_version: 1.0.0
    encryption: bcrypt
    encrypted_token: $2y$12$ADbwlXKfMjsHKayFlBSuLuu02FkrtgzdNWfCOrzWrCR8zkSoNsUfG