我无法实现多因素身份验证。
我得到的错误是
TID: [0] [WSO2 Identity Server] [2012-10-30 10:31:38,620] ERROR {org.wso2.carbon.identity.provider.xmpp.MPAuthenticationProvider} - login failed. Trying again.. {org.wso2.carbon.identity.provider.xmpp.MPAuthenticationProvider}
SASL authentication failed:
at org.jivesoftware.smack.SASLAuthentication.authenticate (SASLAuthentication.java:209)
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:341)
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:301)
这是用于wso2 Identity Server 3.2.3的。直接开箱。无需执行其他配置即可运行此Identity Server实例。
似乎以admin登录,ldap身份验证完成,然后在发生错误时尝试使用gtalk进行身份验证。
我应该在设置gtalk的identity.xml中设置自己的配置吗?
<MultifactorAuthentication>
<XMPPSettings>
<XMPPConfig>
<XMPPProvider>gtalk</XMPPProvider>
<XMPPServer>talk.google.com</XMPPServer>
<XMPPPort>5222</XMPPPort>
<XMPPExt>gmail.com</XMPPExt>
<XMPPUserName>[email protected]</XMPPUserName>
<XMPPPassword>wso2carbon</XMPPPassword>
</XMPPConfig>
</XMPPSettings>
</MultifactorAuthentication>
如果wso2拥有我的文档,并且需要设置此配置的设置以使多因素身份验证开箱即用,那就太好了。