繁体   English   中英

wso2身份服务器多重身份验证错误

[英]wso2 identity server Multifactor Authentication error

我无法实现 Multifactor Authentication 。

我得到的错误是

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>multifactor1@gmail.com</XMPPUserName>

            <XMPPPassword>wso2carbon</XMPPPassword>

        </XMPPConfig>

    </XMPPSettings>

</MultifactorAuthentication>

我发现我确实需要设置一个 Google Talk 帐户。

  1. 我将新设置添加到 MultifactorAuthentication 配置中。

  2. 我重新启动了服务器。

  3. 我使用另一个新的 Google Talk 帐户编辑​​了用户帐户。

  4. 我登出。

  5. 通过使用 openid 的依赖方 URL 重新登录,

  6. 通过 gtalk 请求 pin 收到通信。

  7. 我输入了密码并登录。

如果 wso2 有他们的文档,需要为此配置设置设置以使多因素身份验证开箱即用,那就太好了。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM