recognize / dwh-application-symfony-bundle
An API connector
Installs: 6 224
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 6
Requires
- php: ^8.1.0
- doctrine/common: ^3.0
- doctrine/orm: ^2.5.0
- erasys/openapi-php: ^2.1|^3.0|^4.0
- symfony/framework-bundle: ^4.0|^5.0|^6.0
- symfony/security-bundle: ^4.0|^5.0|^6.0
- symfony/serializer: ^4.0|^5.0|^6.0
Requires (Dev)
- phpstan/phpstan: ^1.10
- dev-develop
- 2.0.2
- 2.0.1
- 2.0.0
- 1.4.5
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.0.3
- 0.0.2
- 0.0.1
- dev-dependabot/composer/symfony/var-dumper-6.4.15
- dev-dependabot/composer/symfony/security-http-6.4.15
- dev-dependabot/composer/symfony/http-foundation-6.4.14
- dev-dependabot/composer/symfony/security-bundle-6.4.10
- dev-override-loader-methods
- dev-feature/TD-604-change-code-scanning-triggers-and-frequency
- dev-dependabot/composer/symfony/http-kernel-5.4.20
- dev-master
This package is auto-updated.
Last update: 2025-03-03 04:02:59 UTC
README
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