登录匿名openfire
我接着说: 我将域作为用户名和密码设置为空。openfire属性xmpp.auth.anonymous=true 我尝试了很多配置,但都没有效果。我错过了什么 我使用主干线和下划线。这是我的密码登录匿名openfire,openfire,strophe,Openfire,Strophe,我接着说: 我将域作为用户名和密码设置为空。openfire属性xmpp.auth.anonymous=true 我尝试了很多配置,但都没有效果。我错过了什么 我使用主干线和下划线。这是我的密码 _.extend(Chat.prototype, Backbone.Events, { connect : function() { var self = this; this.connection = new Strophe.Connection
_.extend(Chat.prototype, Backbone.Events, {
connect : function() {
var self = this;
this.connection = new Strophe.Connection(BOSH_SERVICE);
this.connection.connect('brent029', null, function(status) {
self.onConnect(status);
});
},
onConnect : function(status) {
switch(status) {
case Strophe.Status.CONNECTED:
this.sendPresConference();
break;
default:
break;
}
},
sendPresConference : function(){
this.connection.send(
$pres({
to : 'room@conference_service/nick'
})
.c('x',{
xmlns : Strophe.NS.MUC
}).tree()
);
},
我解决了
明火有一个属性sasl.mechs
这处房产的价值是“普通的”
我将值更改为“匿名,普通”
然后,我重新启动了openfire,现在工作正常。我不明白为什么有人投票反对这个问题。我搜索了几个关于它的链接。他们所说的就是将域设置为用户,密码设置为空。我那样做了,但没有工作。然后,在openfire中选择xmpp.auth.anonymous。我说真的。但什么都不管用。