Buradasın
Symfony Security Firewall Overview
okazy.github.io/symfony-docs/components/security/firewall.htmlYapay zekadan makale özeti
- Core Components
- Authorization is handled by AuthorizationCheckerInterface
- Firewall authenticates users through secured areas
- Firewall map contains request matchers and listeners for secured areas
- Implementation Details
- Firewall listens to kernel.request event at request start
- FirewallConfig provides information about each firewall
- Listeners check for authentication information in requests
- AuthenticationException triggers exception listener for authentication issues
- Authentication Flow
- Firewall checks firewall map for active areas
- Listeners handle authentication requests
- AuthenticationEntryPointInterface handles authentication process
- Authorization checks access after successful authentication