[jdev] Custom authentication errors

Vinod Panicker vinod.p at gmail.com
Tue May 30 04:24:27 CDT 2006


Hi,

I have a use case where the server needs to return specific messages
to the client in case of authentication failures.  I looked at the
schema and it's pretty restrictive in what is being allowed during the
sasl handshake.

Would it make sense to relax the schema to allow text between the
error conditions, say like this -

<failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
  <temporary-auth-failure>Server under maintenance, please try after
some time.</temporary-auth-failure>
</failure>
</stream:stream>

Regards,
Vinod.



More information about the JDev mailing list