orkestra / webservice-bundle
Provides WSSE authentication support for Symfony2 projects
Installs: 312
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.2
- orkestra/orkestra-bundle: *
This package is not auto-updated.
Last update: 2024-11-09 14:45:24 UTC
README
Provides basic support for WSSE authentication.
Installation
The easiest way to add OrkestraWebServiceBundle to your project is using composer.
Add orkestra/webservice-bundle to your composer.json
file:
{ "require": { "orkestra/webservice-bundle": "1.0.x-dev" } }
Then run composer install
or composer update
.
Configuration
OrkestraWebServiceBundle adds a new entity called Token.
Modify your application security configuration (security.yml
)
-
Add a plaintext encoder for the Token entity
NOTE: Only plaintext is supported currently. This is a serious flaw, but because of the way the digest is generated, no work around exists except to implement some two-way encryption mechanism at the database level.
-
Add a new entity provider for the Token entity
-
Add a new firewall with the options:
stateless: true
andwsse: true