Skip to content

recognizegroup/dwh-application-symfony-bundle

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages