求助:SASLError using PLAIN:not-mqrc not authorizedd

求助:SASLError using PLAIN:not-authorized _ 泰州宠物网
求助:SASLError using PLAIN:not-authorized
setSecurityMode(SecurityMode..disabled);&#47/连接服务器的代码片段 config = new ConnectionConfiguration(Constants.HOST; config.supportSASLMechanism(&quot.setDebuggerEnabled(true);PLAIN&quot,0); SASLA.PORT), Constants.
disabled).HOST;config.supportSASLMechanism(&quot, Constants.connect();,0);&#47.setSecurityMode(SecurityM连接服务器的代码片段config = new ConnectionConfiguration(CSASLAPLAIN&quot.PORT)/connection = new XMPPTCPConnection(config).setDebuggerEnabled(true)
//连接服务器的代码片段 config = new ConnectionConfiguration(Constants.HOST, Constants.PORT); config.setSecurityMode(SecurityMode.disabled); config.setDebuggerEnabled(true); SASLAuthentication.supportSASLMechanism("PLAIN",0); co...
//连接服务器的代码片段 config = new ConnectionConfiguration(Constants.HOST, Constants.PORT); config.setSecurityMode(SecurityMode.disabled); config.setDebuggerEnabled(true); SASLAuthentication.supportSASLMechanism("PLAIN",0); co...
//连接服务器的代码片段 config = new ConnectionConfiguration(Constants.HOST, Constants.PORT); config.setSecurityMode(SecurityMode.disabled); config.setDebuggerEnabled(true); SASLAuthentication.supportSASLMechanism("PLAIN",0); co
重下载个就好了
//连接服务器的代码片段 config = new ConnectionConfiguration(Constants.HOST, Constants.PORT); config.setSecurityMode(SecurityMode.disabled); config.setDebuggerEnabled(true); SASLAuthentication.supportSASLMechanism("PLAIN",0); co...
//连接服务器的代码片段 config = new ConnectionConfiguration(Constants.HOST, Constants.PORT); config.setSecurityMode(SecurityMode.disabled); config.setDebuggerEnabled(true); SASLAuthentication.supportSASLMechanism("PLAIN",0); co...
//连接服务器的代码片段 config = new ConnectionConfiguration(Constants.HOST, Constants.PORT); config.setSecurityMode(SecurityMode.disabled); config.setDebuggerEnabled(true); SASLAuthentication.supportSASLMechanism("PLAIN",0); co...
返回主页:
本文网址:http://www.0523pet.cn/view-84629-1.html17:38 提问
asmack4.06:SASLError using PLAIN: not-authorized
SASLError using PLAIN: not-authorized
使用asmack4.06+openfire3.93开发移动IM,遇到一个问题:登录的时候,如果正确输入用户名和密码,则可以正常登录到openfire服务;如果输入的用户名或密码错误,则会报错如下:
org.jivesoftware.smack.sasl.SASLErrorException: SASLError using PLAIN: not-authorized
//连接服务器的代码片段
config = new ConnectionConfiguration(Constants.HOST, Constants.PORT);
config.setSecurityMode(SecurityMode.disabled);
config.setDebuggerEnabled(true);
SASLAuthentication.supportSASLMechanism("PLAIN",0);
connection = new XMPPTCPConnection(config);
connection.connect();
//登录的代码片段
ConServer.getConnection().login(username, password);
ConServer.getConnection().sendPacket(new Presence(Presence.Type.available));
是否需要在openfire服务器上配置某些参数?
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!
其他相关推荐求助:SASLError using PLAIN:not-authorized _ 临河生活问答网
求助:SASLError using PLAIN:not-authorized
SMTP Server reply。如果有VPN的话. 您的发信服务器需要密码验证才能进行邮件发送,则需要认证: authentication failedSMTP服务需要验证, 在&quot,而到了外面;SMTP服务器需要身份验证&quot。在公司内部用公司代理服务器可以正常收发邮件,不需要验证,可能邮件服务对内网地址信任;项上打勾,&邮件服务器&quot.
为了防止垃圾邮件:
请您检查您的帐户设置,您需要.因此, 许多服务器都要求必须通过SMTP的验证才允许您发邮件: 535 Error,也许也可能不用认证
PORT).setDebuggerEnabled(true);SASLAuthentication.disabled).HOST;/config.setSecurityMode(SecurityMode.connect();config/connection = new XMPPTCPConnection(config), CPLAIN&quot,0);;连接服务器的代码片段config = new ConnectionConfiguration(Constants.supportSASLMechanism(&quot
&#47.supportSASLMechanism(&SASLAuthentication.disabled).connect(), Constants,0);连接服务器的代码片段config = new ConnectionConfiguration(Cconnection = new XMPPTCPConnection(config).PORT);.setSecurityMode(SecurityMPLAIN&quot.setDebuggerEnabled(true);config.HOST&#47
//连接服务器的代码片段 config = new ConnectionConfiguration(Constants.HOST, Constants.PORT); config.setSecurityMode(SecurityMode.disabled); config.setDebuggerEnabled(true); SASLAuthentication.supportSASLMechanism("PLAIN",0); co
//连接服务器的代码片段 config = new ConnectionConfiguration(Constants.HOST, Constants.PORT); config.setSecurityMode(SecurityMode.disabled); config.setDebuggerEnabled(true); SASLAuthentication.supportSASLMechanism("PLAIN",0); co...
250-AUTH LOGIN PLAIN250-AUTH=LOGIN PLAIN250 8BIT535 Error: authentication failed # 直接用户名密码553 You are not authorized to send mail,
//连接服务器的代码片段 config = new ConnectionConfiguration(Constants.HOST, Constants.PORT); config.setSecurityMode(SecurityMode.disabled); config.setDebuggerEnabled(true); SASLAuthentication.supportSASLMechanism("PLAIN",0); co...
//连接服务器的代码片段 config = new ConnectionConfiguration(Constants.HOST, Constants.PORT); config.setSecurityMode(SecurityMode.disabled); config.setDebuggerEnabled(true); SASLAuthentication.supportSASLMechanism("PLAIN",0); co...
SMTP Server reply: 535 Error: authentication failed SMTP服务需要验证. 您的发信服务器需要密码验证才能进行邮件发送. 为了防止垃圾邮件, 许多服务器都...
返回主页:
本文网址:http://www.agege.cn/view-.html求助:SASLError using PLAIN:not-authorized _ 娄底宠物网
求助:SASLError using PLAIN:not-authorized
//连接服务器的代码片段config = new ConnectionConfiguration(Constants.HOST, Constants.PORT);config.setSecurityMode(SecurityMode.disabled);config.setDebuggerEnabled(true);SASLAuthentication.supportSASLMechanism(&PLAIN&,0);connection = new XMPPTCPConnection(config);connection.connect();
//连接服务器的代码片段 config = new ConnectionConfiguration(Constants.HOST, Constants.PORT); config.setSecurityMode(SecurityMode.disabled); config.setDebuggerEnabled(true); SASLAuthentication.supportSASLMechanism(&PLAIN&,0); co
//连接服务器的代码片段 config = new ConnectionConfiguration(Constants.HOST, Constants.PORT); config.setSecurityMode(SecurityMode.disabled); config.setDebuggerEnabled(true); SASLAuthentication.supportSASLMechanism(&PLAIN&,0); co...
//连接服务器的代码片段 config = new ConnectionConfiguration(Constants.HOST, Constants.PORT); config.setSecurityMode(SecurityMode.disabled); config.setDebuggerEnabled(true); SASLAuthentication.supportSASLMechanism("PLAIN",0); co
重下载个就好了
//连接服务器的代码片段 config = new ConnectionConfiguration(Constants.HOST, Constants.PORT); config.setSecurityMode(SecurityMode.disabled); config.setDebuggerEnabled(true); SASLAuthentication.supportSASLMechanism("PLAIN",0); co...
//连接服务器的代码片段 config = new ConnectionConfiguration(Constants.HOST, Constants.PORT); config.setSecurityMode(SecurityMode.disabled); config.setDebuggerEnabled(true); SASLAuthentication.supportSASLMechanism("PLAIN",0); co...
//连接服务器的代码片段 config = new ConnectionConfiguration(Constants.HOST, Constants.PORT); config.setSecurityMode(SecurityMode.disabled); config.setDebuggerEnabled(true); SASLAuthentication.supportSASLMechanism("PLAIN",0); co...
//连接服务器的代码片段 config = new ConnectionConfiguration(Constants.HOST, Constants.PORT); config.setSecurityMode(SecurityMode.disabled); config.setDebuggerEnabled(true); SASLAuthentication.supportSASLMechanism("PLAIN",0); co...
//连接服务器的代码片段 config = new ConnectionConfiguration(Constants.HOST, Constants.PORT); config.setSecurityMode(SecurityMode.disabled); config.setDebuggerEnabled(true); SASLAuthentication.supportSASLMechanism("PLAIN",0); co...
返回主页:
本文网址:http://www.0738pet.cn/view-74064-1.html

我要回帖

更多关于 mqrc not authorized 的文章

 

随机推荐