Differences From Artifact [00843fd022]:
- File tests/test.m — part of check-in [8402175d15] at 2011-02-19 22:17:39 on branch trunk — Adapt tests for checking a stanza's JID (user: florob@babelmonkeys.de, size: 3804) [annotate] [blame] [check-ins using]
To Artifact [1d590d00a0]:
- File
tests/test.m
— part of check-in
[6a3b0a9988]
at
2011-02-21 03:09:39
on branch trunk
— 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. (user: florob@babelmonkeys.de, size: 3855) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
93 94 95 96 97 98 99 | [conn setServer: [arguments objectAtIndex: 0]]; [conn setUsername: [arguments objectAtIndex: 1]]; [conn setPassword: [arguments objectAtIndex: 2]]; [conn setResource: @"ObjXMPP"]; [conn setUseTLS: NO]; [conn connect]; | > | > > > | 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | [conn setServer: [arguments objectAtIndex: 0]]; [conn setUsername: [arguments objectAtIndex: 1]]; [conn setPassword: [arguments objectAtIndex: 2]]; [conn setResource: @"ObjXMPP"]; [conn setUseTLS: NO]; [conn connect]; @try { [conn handleConnection]; } @catch (id e) { of_log(@"%@", e); } } @end |