Skip to content

Latest commit

 

History

History
41 lines (40 loc) · 1007 Bytes

README.md

File metadata and controls

41 lines (40 loc) · 1007 Bytes

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