[jdev] No realm from server

Sebastiaan Deckers cbas at pandion.im
Mon Nov 9 07:24:42 CST 2009


Replying to an old message as I just faced a similar issue and want to
document/discuss the solution.

Both RFC2831 (Digest SASL) and RFC3920 (XMPP Core) do not specify what the
realm should be treated as by the client if it is missing from the
challenge.

Treating the missing realm as an empty string is how it seems to work with
existing servers. This is also implied in RFC3920bis (draft 09 #7.2.7
Realms).

Sebastiaan


On Sun, Mar 22, 2009 at 4:28 PM, Dieter Lunn <coder2000 at gmail.com> wrote:

> What is the preferred course of action when the client doesn't receive
> a realm from the server in an SASL challenge?
>
> Dieter Lunn
> http://www.coder2000.ca
> _______________________________________________
> JDev mailing list
> Forum: http://www.jabberforum.org/forumdisplay.php?f=20
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-unsubscribe at jabber.org
> _______________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20091109/c26e21b4/attachment.htm>


More information about the JDev mailing list