Check out the following firewalls setup in security.yaml
:
security:
# ...
firewalls:
main_firewall:
pattern: ^/api/
# ...
custom_authenticator: App\Security\MainApiAuthenticator
products_firewall:
pattern: ^/api/product
# ...
custom_authenticator: App\Security\ProductApiAuthenticator
If I make a request to /api/product
, which authenticators will be executed?