[jdev] jabber client authentication possible?

Peter Saint-Andre stpeter at stpeter.im
Tue Jun 16 17:58:48 CDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 6/8/09 12:56 AM, Jan Koum wrote:
> hi there,
> 
> i installed ejabberd today, got it work with adium/ichat and wanted to
> ask you all a couple of things:
> 
> 1. i am working on adding jabber support into my iphone app and i want
> to configure the server in such a way that only my app can register new
> users and login into the server.  is there anything i can do on the
> server end to configure this?  ssl client authentication or something
> other client authentication i can build into the xmpp client?

It's probably best to ask about this on the ejabberd list. In theory you
could limit authentication to SASL EXTERNAL if you supply each instance
of your app with a cert.

> 2. since this is an iphone app, the network can drop at any moment.  is
> there a way for a server to quickly discover that client has
> disconnected so it can begin to store messages for offline delivery?

See my post earlier today on the standards at xmpp.org list. Essentially
the server has three tools at its disposal:

1. whitespace pings (see draft-ietf-xmpp-3920bis)

2. XEP-0199

3. XEP-0198

As far as I know, no servers support XEP-0198 yet but they are working
on it. This will solve a lot of reliability problems.

Peter

- --
Peter Saint-Andre
https://stpeter.im/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAko4I6gACgkQNL8k5A2w/vxj8gCfX3Av0TrfAN+VuCy2YgJ8/lDN
jAAAoPLtr1an50M7KMKMgpey5I6TEWBd
=A818
-----END PGP SIGNATURE-----




More information about the JDev mailing list