Overview
Comment: | Rename XMPPAuthenticator functions |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
6b83d2b4d49876ecbf3b22e1bcb03e9b |
User & Date: | florob@babelmonkeys.de on 2011-02-24 21:44:51 |
Other Links: | manifest | tags |
Context
2011-02-25
| ||
22:52 | A little cleanup work. Still needs a configure script. check-in: c8b860a877 user: js tags: trunk | |
2011-02-24
| ||
21:44 | Rename XMPPAuthenticator functions check-in: 6b83d2b4d4 user: florob@babelmonkeys.de tags: trunk | |
18:51 | Escape SCRAM usernames (authzid and authcid) check-in: a59df3b671 user: florob@babelmonkeys.de tags: trunk | |
Changes
Modified src/XMPPAuthenticator.h from [dd2be7ab8f] to [d4a2643832].
︙ | |||
61 62 63 64 65 66 67 | 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | - + - + | - initWithAuthzid: (OFString*)authzid authcid: (OFString*)authcid password: (OFString*)password; /** * \return A OFDataAray containing the initial authentication message */ |
︙ |
Modified src/XMPPAuthenticator.m from [ce929b9acc] to [6b8d4dd60e].
︙ | |||
53 54 55 56 57 58 59 | 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | - + - + | [authzid release]; [authcid release]; [password release]; [super dealloc]; } |
︙ |
Modified src/XMPPConnection.m from [b8bdaffc4b] to [134b7975a7].
︙ | |||
231 232 233 234 235 236 237 | 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 | - + | OFXMLElement *authTag; authTag = [OFXMLElement elementWithName: @"auth" namespace: NS_SASL]; [authTag addAttributeWithName: @"mechanism" stringValue: name]; [authTag addChild: [OFXMLElement elementWithCharacters: |
︙ | |||
310 311 312 313 314 315 316 | 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 | + - + | if ([elem.namespace isEqual: NS_SASL]) { if ([elem.name isEqual: @"challenge"]) { OFXMLElement *responseTag; OFDataArray *challenge = [OFDataArray dataArrayWithBase64EncodedString: [elem.children.firstObject stringValue]]; OFDataArray *response = [authModule |
︙ |
Modified src/XMPPPLAINAuth.m from [14bbbb67be] to [c67e112e64].
︙ | |||
36 37 38 39 40 41 42 | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | - + - + | password: (OFString*)password { return [[[self alloc] initWithAuthzid: authzid authcid: authcid password: password] autorelease]; } |
Modified src/XMPPSCRAMAuth.m from [709f3138f4] to [8be49d66e3].
︙ | |||
253 254 255 256 257 258 259 | 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 | - + | return [ret autorelease]; } @finally { [pool release]; [self freeMemory: result]; } } |
︙ | |||
278 279 280 281 282 283 284 | 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 | - + | [ret addNItems: [clientFirstMessageBare cStringLength] fromCArray: [clientFirstMessageBare cString]]; return ret; } |
︙ |