Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ファイルを編集せずにsymfony2に偽装を実装したいsecurity.yml。どうやってやるの?
security.yml
なぜこれが必要なのかはわかりませんが、必要な場合は、SecurityBundle がこの機能を実現する方法を調べて、独自のバージョンを実装します。
https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Security/Http/Firewall/SwitchUserListener.php
独自のカスタム エントリ ポイントを使用して、この機能を模倣する独自のカーネル リスナーを作成します。