Provides basic support for WSSE authentication.
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
.
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