Commit 3c024a8e authored by Fabien Potencier's avatar Fabien Potencier

merged branch davedevelopment/docs-wsse-example (PR #393)

Commits
-------

7ef0e3a4 Correct key name in example

Discussion
----------

Correct key name in WSSE example docs
parents 5ea54aa3 7ef0e3a4
......@@ -476,7 +476,7 @@ easily. To register a new authentication provider, create a service named
``security.authentication.factory.XXX`` where ``XXX`` is the name you want to
use in your configuration::
$app['security.authentication.factory.wsse'] = $app->protect(function ($name, $options) use ($app) {
$app['security.authentication_listener.factory.wsse'] = $app->protect(function ($name, $options) use ($app) {
// define the authentication provider object
$app['security.authentication_provider.'.$name.'.wsse'] = $app->share(function () use ($app) {
return new WsseProvider($app['security.user_provider.default'], __DIR__.'/security_cache');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment