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.
This commit is contained in:
Florian Zeitz 2011-02-21 04:09:39 +01:00
parent a366c2e2ae
commit d6227ca0a1
12 changed files with 942 additions and 28 deletions

View file

@ -97,6 +97,10 @@ OF_APPLICATION_DELEGATE(AppDelegate)
[conn setUseTLS: NO];
[conn connect];
[conn handleConnection];
@try {
[conn handleConnection];
} @catch (id e) {
of_log(@"%@", e);
}
}
@end