Download the PHP package escapestudios/wsse-authentication-bundle without Composer
On this page you can find all versions of the php package escapestudios/wsse-authentication-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download escapestudios/wsse-authentication-bundle
More information about escapestudios/wsse-authentication-bundle
Files in escapestudios/wsse-authentication-bundle
Package wsse-authentication-bundle
Short Description Symfony2 bundle to implement WSSE authentication
License MIT
Homepage https://github.com/djoos/EscapeWSSEAuthenticationBundle
Informations about the package wsse-authentication-bundle
Introduction
The EscapeWSSEAuthentication bundle is a simple and easy way to implement WSSE authentication in Symfony applications
Installation
Command Line
composer.json
app/AppKernel.php
Commands
Delete expired nonces via the escape:wsseauthentication:nonces:delete
command that ships with this bundle; it takes the firewall name as a (required) parameter.
php app/console --env=dev escape:wsseauthentication:nonces:delete wsse_secured
Quick usage example
app/config/security.yml
...that's it! Your "wsse_secured"-firewall is now secured via the (out-of-the-box) WSSE Authentication setup. You can now start calling your API endpoints: generate a X-WSSE header (Symfony\Component\Security\Core\Encoder\MessageDigestPasswordEncoder) and add it to your request (cUrl). It is strongly recommended to have a read through the more advanced configuration below once you're up and running with the basics...
Advanced configuration
Specify a custom token lifetime
Default value: 300
app/config/security.yml
Specify a custom date format
Default value: see regular expression below for ISO8601 (check out)
app/config/security.yml
Specify a custom digest algorithm
Default value: base 64-encoded sha1 with 1 iteration
:warning: Please change the digest algorithm to a stronger one, like bcrypt :warning:
app/config/security.yml
Specify a custom nonce cache
Default value: Doctrine\Common\Cache\PhpFileCache in %kernel.cache_dir%/security/nonces
app/config/security.yml
app/config/security.yml
Use multiple providers
app/config/security.yml
Make use of a specific user provider on a firewall with WSSE as one of multiple authentication mechanisms
app/config/security.yml
Specify custom authentication class(es)
app/config/config.yml
All versions of wsse-authentication-bundle with dependencies
symfony/framework-bundle Version ~2.3|~3.0
symfony/security-bundle Version ~2.3|~3.0
doctrine/common Version ~2.2