-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Vinod Panicker wrote: > 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>
I think is would be better to emulate the structure of stanza errors: <failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'> <temporary-auth-failure/> <text>Server under maintenance, please try after some time.</text> </failure> </stream:stream> Peter - -- Peter Saint-Andre Jabber Software Foundation http://www.jabber.org/people/stpeter.shtml -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEfGJVNF1RSzyt3NURAv8lAKDXFQIkUgV2rWMaT2chGLoFRwCpbgCdGEiC fGMp6cV0B0v0a/FQnqnzjSY= =VbJY -----END PGP SIGNATURE-----
smime.p7s
Description: S/MIME Cryptographic Signature
