symfony5使用系统自带的Authenticator验证form_login原理:
核心的是下面这个listener
UsernamePasswordFormAuthenticationListener 这个listener里面有个 attemptAuthentication 方法,这个方法大致用来验证用户信息,生成token(UsernamePasswordToken),和 自定义FormLoginAuthenticator 中的 authenticate 作用差不多
form_login的参数文档:https://symfony.com/doc/current/reference/configuration/security.html#form-login-authentication
