Symfony2 custom security provider
3
Click here to load reader
-
Upload
almog-baku -
Category
Software
-
view
67 -
download
6
Transcript of Symfony2 custom security provider
![Page 1: Symfony2 custom security provider](https://reader038.fdocuments.us/reader038/viewer/2022100423/58ee78bf1a28ab4e588b465d/html5/thumbnails/1.jpg)
Symfony2 - Custom Security Provider
![Page 2: Symfony2 custom security provider](https://reader038.fdocuments.us/reader038/viewer/2022100423/58ee78bf1a28ab4e588b465d/html5/thumbnails/2.jpg)
Custom security providerDependency injection
YourCustomSecurityFactory
security: firewalls: api: pattern: ^/api my_custom_security: ~ anonymous: true stateless: true
CustomProviderAuthenticating the
token
CustomFirewall
Fetching the token
CustomToken
![Page 3: Symfony2 custom security provider](https://reader038.fdocuments.us/reader038/viewer/2022100423/58ee78bf1a28ab4e588b465d/html5/thumbnails/3.jpg)
References1. http://symfony.com/doc/current/book/security.html2. http://symfony.com/doc/current/cookbook/security/custom_authentication_
provider.html3. https://github.com/AlmogBaku/Symfony-CustomSecurityProvider-example