Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
我使用 Openfire 来运行我的 Jabber 服务器,我对此非常满意。可能比其他一些选项(jabberd、ejabberd 等)开销更高,但它很容易安装,并且有一个很棒的基于 Web 的管理 UI。
至于通过网络应用程序添加用户 - 我不知道你会如何使用 Openfire 来做到这一点,但这应该是可能的。它可以插入许多数据库,并且您可以为您的 Web 应用程序提供一个可用于创建用户的管理员帐户。
或者,Jabber/XMPP 协议支持在您首次连接到服务器时创建新帐户(如果这对您来说足够好)。 OpenFire 支持该功能(我相信大多数 Jabber 服务器也是如此)。
更新:用户服务插件 for Openfire 公开了用于执行用户管理操作的 HTTP API。这可能正是您所需要的。
I use Openfire to run my Jabber server and am quite happy with it. Probably higher-overhead than some of the other options (jabberd, ejabberd, etc.), but it's easy to install and has a great web-based admin UI.
As far as adding users via a web application - I don't know how you would go about doing that with Openfire, but it should be possible. It can plug in to many databases, and you might be able to give your web application an admin account that it can use to create users.
Alternatively, the Jabber/XMPP protocol supports creating a new account when you first connect to a server, if that's good enough for you. OpenFire supports that feature (as do most Jabber servers, I believe).
Update: The User Service Plugin for Openfire exposes an HTTP API for performing user administration actions. That's probably exactly what you need.
这取决于您拥有哪种类型的托管。我认为您至少应该有 VPS 托管来安装该软件。几块钱的基本托管不允许您运行 jabber 服务器。
我本人非常喜欢lua的prosody。易于安装/配置
It depends on what kind of hosting you have. I think you should at least have VPS hosting to install the software. Basic hosting for a couple of bucks does not allow you to run jabber server.
I myself really like lua's prosody. It is easy to install / configure
您可能喜欢 ejabberd,它对新用户相当友好:
http://www.process- one.net/en/ejabberd/
You might like ejabberd, it is fairly friendly to new users:
http://www.process-one.net/en/ejabberd/
对于你的第一个问题:
您可能需要查看用于带内注册的 XEP-0077 扩展。
http://xmpp.org/extensions/xep-0077.html#intro
您使用什么语言编码?您可能想要检查该语言是否有可以处理此扩展的 XMPP 库。
For you first question:
You might want to look at the XEP-0077 extension for in-band registration.
http://xmpp.org/extensions/xep-0077.html#intro
What language are you coding in? You might want to check and see if that language has a XMPP library that can handle this extension.
我已经尝试过其中的大多数并且可以同意 ejabberd 。唯一的问题是,为了改变它,你需要在 Erlang 中编程。 Openfire 看起来很棒,但我无法正确加载证书:实现中存在错误,因此 TLS 将不起作用。我无法让 Soapbox 访问本地 MySQL 数据库,所以这也无法实现。
至于客户端,你可以使用 Miranda。
I've tried most of them and can agree on ejabberd. The only problem is that in order to change it, you need to program in Erlang. Openfire looks great, but I could not get the certificate to load properly: there is a bug with the implementation, so TLS will not work. I couldn't get Soapbox to access a local MySQL database, so that was out too.
As for client-side, you can use Miranda.