我有一个扩展 AbstractLoginFormAuthenticator 的验证器类,并使用 security.firewalls.main.custom_authenticator 设置声明它。
但是,我省略了设置 security.enable_authenticator_manager 设置 - 但一切都按预期工作,没有额外的弃用等。我猜想,当未设置 enable_authenticator_manager 时,它默认为 false,但无论如何都会使用authenticator 类。这样设置的目的是什么?