Answer the question
In order to leave comments, you need to log in
Symfony2 + Custom authorization. How?
Please tell me, something I can’t figure out at all how to make authorization in the symphony through the login / password form.
With the help of the article symfony.com/doc/current/cookbook/security/custom_a... I created a provider, but how to make friends with the login form?
I'm completely new to symphony, so I want to figure it out without using FOSUserBundle.
Answer the question
In order to leave comments, you need to log in
Maybe they forgot about it.
# app/config/services.yml
services:
wsse.security.authentication.provider:
class: AppBundle\Security\Authentication\Provider\WsseProvider
arguments:
- '' # User Provider
- '%kernel.cache_dir%/security/nonces'
public: false
wsse.security.authentication.listener:
class: AppBundle\Security\Firewall\WsseListener
arguments: ['@security.token_storage', '@security.authentication.manager']
public: false
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question