Commit graph

115 commits

Author SHA1 Message Date
Florian Zeitz
ba13fa3e3a Rename XMPPAuthenticator functions 2011-02-24 22:44:51 +01:00
Florian Zeitz
d6227ca0a1 Add SCRAM-SHA-1 support
This adds the new base class XMPPAuthenticator and the derived
classes XMPPSCRAMAuth and XMPPPLAINAuth.
They are now used for authentication from within XMPPConnection.

Also adds XMPPAuthFailedException which is thrown in appropriate places.
2011-02-21 04:09:39 +01:00
Florian Zeitz
a366c2e2ae Fix mechanisms parsing 2011-02-19 23:39:11 +01:00
a2cf5e17e7 Make use of -[elementsForName:]. 2011-02-19 17:23:36 +01:00
Florian Zeitz
5e8481027e Perform IDNA's ToASCII operation on the server's domain name 2011-02-18 01:56:41 +01:00
8f4e29a466 Use exceptions. 2011-02-16 23:36:50 +01:00
fa34006321 Add license. 2011-02-16 21:12:01 +01:00
4690b47ae9 Clean up the code. 2011-02-16 21:05:14 +01:00
fa59d3ce32 Use one file per class. 2011-02-16 20:32:39 +01:00
Florian Zeitz
e4f7e4b35f Perform SASLPrep on the username and Resourceprep on the resource
The username is not necessarily a nodepart, therefore SASLPrep is more
appropriate than Nodeprep which we had before.
2011-02-15 03:52:16 +01:00
Florian Zeitz
4cd1853729 Add support for requesting a certain resource 2011-02-13 02:07:36 +01:00
Florian Zeitz
6dc9e5e217 Add a class for handling JIDs. 2011-02-13 01:36:25 +01:00
Florian Zeitz
188528419f Do more checking on handling the resource bind 2011-02-12 01:25:33 +01:00
Florian Zeitz
0e200d99d7 Respectively do Nameprep/SASLPrep on domain name and password 2011-02-11 02:25:15 +01:00
Florian Zeitz
12ec7d5f08 Add a basic folder structure 2011-02-11 02:06:53 +01:00
Renamed from XMPPConnection.m (Browse further)