2017 © Pedro Peláez
 

library symfony-wsse

WSSE implementation based on Symfony examples in documentation.

image

alcalyn/symfony-wsse

WSSE implementation based on Symfony examples in documentation.

  • Tuesday, September 26, 2017
  • by alcalyn
  • Repository
  • 0 Watchers
  • 0 Stars
  • 129 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

Symfony WSSE

This library provide classes used in Symfony documentation, about a WSSE implementation., (*1)

Installation

Via Composer, (*2)

``` js { "require": { "alcalyn/symfony-wsse": "~1.0.0" } }, (*3)



## Usage You have to register library class in your Symfony project. ### Silex See [SilexWSSE](https://github.com/alcalyn/silex-wsse) project. ### Symfony full stack Following [Symfony2 documentation about WSSE](http://symfony.com/doc/current/cookbook/security/custom_authentication_provider.html): Register services: ``` yml # app/config/services.yml services: wsse.security.authentication.provider: class: Alcalyn\Wsse\Security\Authentication\Provider\WsseProvider arguments: - "" # User Provider - "%kernel.cache_dir%/security/nonces" public: false wsse.security.authentication.listener: class: Alcalyn\Wsse\Security\Firewall\WsseListener arguments: ["@security.token_storage", "@security.authentication.manager"] public: false

Register your WSSE security context:, (*4)

``` php // src/AppBundle/AppBundle.php namespace AppBundle;, (*5)

use Symfony\Component\HttpKernel\Bundle\Bundle; use Symfony\Component\DependencyInjection\ContainerBuilder; use Alcalyn\Wsse\DependencyInjection\Security\Factory\WsseFactory;, (*6)

class AppBundle extends Bundle { public function build(ContainerBuilder $container) { parent::build($container);, (*7)

    $extension = $container->getExtension('security');
    $extension->addSecurityListenerFactory(new WsseFactory());
}

}, (*8)


Now you can use WSSE security in your project: ``` yml # app/config/security.yml security: # ... firewalls: wsse_secured: pattern: ^/api/ stateless: true wsse: true

License

This project is under MIT License., (*9)

The Versions

26/09 2017

dev-master

9999999-dev https://github.com/alcalyn/symfony-wsse

WSSE implementation based on Symfony examples in documentation.

  Sources   Download

MIT

The Requires

 

user symfony wsse

26/09 2017

1.1.0

1.1.0.0 https://github.com/alcalyn/symfony-wsse

WSSE implementation based on Symfony examples in documentation.

  Sources   Download

MIT

The Requires

 

user symfony wsse

26/09 2017

dev-dev

dev-dev https://github.com/alcalyn/symfony-wsse

WSSE implementation based on Symfony examples in documentation.

  Sources   Download

MIT

The Requires

 

user symfony wsse

11/01 2016

1.0.5

1.0.5.0 https://github.com/alcalyn/symfony-wsse

WSSE implementation based on Symfony examples in documentation.

  Sources   Download

MIT

The Requires

 

user symfony wsse

11/01 2016

1.0.4

1.0.4.0 https://github.com/alcalyn/symfony-wsse

WSSE implementation based on Symfony examples in documentation.

  Sources   Download

MIT

The Requires

 

user symfony wsse

01/10 2015

1.0.3

1.0.3.0 https://github.com/alcalyn/symfony-wsse

WSSE implementation based on Symfony examples in documentation.

  Sources   Download

MIT

The Requires

 

user symfony wsse

24/09 2015

1.0.2

1.0.2.0 https://github.com/alcalyn/symfony-wsse

WSSE implementation based on Symfony examples in documentation.

  Sources   Download

MIT

The Requires

 

user symfony wsse

24/09 2015

1.0.1

1.0.1.0 https://github.com/alcalyn/symfony-wsse

WSSE implementation based on Symfony examples in documentation.

  Sources   Download

MIT

The Requires

 

user symfony wsse

12/09 2015

1.0.0

1.0.0.0 https://github.com/alcalyn/symfony-wsse

WSSE implementation based on Symfony examples in documentation.

  Sources   Download

MIT

The Requires

 

user symfony wsse