与SQL和匿名奇怪的行为Ejabberdauthentication

通过sqlauthenticationconfigurationejabberd之后,它可以像预期的那样工作,通过广告DIGEST-MD5和SCRAM-SHA-1作为可能的authentication机制。 但是,当我添加匿名身份validation的可能性时,它会停止将DIGEST-MD5和SCRAM-SHA-1作为可能的身份validation机制进行广告宣传。

host_config: "xmpp.example.com": auth_method: [sql] 

[debug](tls | <0.570.0>)在stream上发送XML =

  <<"<stream:features> <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'> <mechanism>SCRAM-SHA-1</mechanism> <mechanism>DIGEST-MD5</mechanism> <mechanism>PLAIN</mechanism> <mechanism>X-OAUTH2</mechanism></mechanisms> </stream:features>">> 

 host_config: "xmpp.example.com": auth_method: [sql, anonymous] 

[debug](tls | <0.554.0>)在stream上发送XML =

  <<"<stream:features> <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'> <mechanism>ANONYMOUS</mechanism> <mechanism>PLAIN</mechanism> <mechanism>X-OAUTH2</mechanism> </mechanisms></stream:features>">> 

目前在docker中运行postgres数据库