summaryrefslogtreecommitdiff
path: root/src/server-sasl-channel.c
AgeCommit message (Collapse)AuthorFilesLines
2012-02-06Update Wocky snapshot for One Big Header.Will Thompson1-2/+1
https://bugs.freedesktop.org/show_bug.cgi?id=27489
2011-05-03Remove GabbleXmppError.Will Thompson1-0/+1
There is a FIXME buried in here … but the tests pass.
2010-12-10server-sasl-channel: add note about completing not in an idleJonny Lamb1-1/+2
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2010-12-10server-sasl-channel: finish a gabble success function not in an idleJonny Lamb1-1/+4
Fixes: fd.o#32278 Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2010-11-26Map SASL_Abort_Reason_Invalid_Challenge to TP_ERROR_SERVICE_CONFUSEDSimon McVittie1-2/+1
As per the spec.
2010-11-26Depend on telepathy-glib 0.13.7 and use it for SASLSimon McVittie1-63/+63
2010-11-24gabble_server_sasl_channel_get_failure_details: addSimon McVittie1-3/+39
2010-11-24Raise NotImplemented if the user requests an unsupported mechanismSimon McVittie1-11/+13
2010-11-23Update SASL to current spec masterSimon McVittie1-45/+17
2010-11-23Don't make X-WOCKY-JABBER pseudo-mechanisms available over D-BusSimon McVittie1-7/+0
2010-11-23gabble_server_sasl_channel_fail: use gabble_set_tp_conn_error_from_wockySimon McVittie1-26/+9
2010-11-23gabble_server_sasl_channel_fail: on repeated failure, don't overwrite errorSimon McVittie1-0/+6
2010-11-23GabbleServerSaslChannel: check for expected state, and debug, in async methodsSimon McVittie1-0/+6
2010-11-23AbortSASL: improve state tracking and debuggingSimon McVittie1-5/+23
Also, don't abort on invalid D-Bus input: AbortSASL(666, "crash me") shouldn't crash us.
2010-11-23AcceptSASL: improve state tracking and debug messagesSimon McVittie1-9/+38
2010-11-23StartMechanism[WithData]: improve debugSimon McVittie1-5/+16
2010-11-23StartMechanism[WithData]: streamline search for mechanismSimon McVittie1-11/+2
2010-11-23Respond: check status more carefully and improve debug outputSimon McVittie1-3/+19
2010-11-23GabbleServerSaslChannel: move to In_Progress state when StartMechanism is calledSimon McVittie1-10/+11
Also assert in the tests that this is done.
2010-11-23gabble_server_sasl_channel_raise_not_available: take varargsSimon McVittie1-5/+13
2010-11-23StartMechanism[WithData]: don't crash if no initial dataSimon McVittie1-1/+3
2010-11-23Turn GabbleServerSaslChannel's dispose into finalizeSimon McVittie1-15/+4
There's actually nothing left there that releases refs.
2010-11-23GabbleServerSaslChannel: be a TpBaseChannelSimon McVittie1-266/+65
2010-11-23GabbleServerSaslChannel: be a plain GObjectSimon McVittie1-1/+1
2010-11-23gabble_server_sasl_channel_fail: be independent of WockyAuthRegistrySimon McVittie1-12/+3
2010-11-23gabble_server_sasl_channel_success_async: be independent of WockyAuthRegistrySimon McVittie1-44/+21
2010-11-23gabble_server_sasl_channel_challenge_async: be independent of WockyAuthRegistrySimon McVittie1-45/+18
2010-11-23GabbleSaslChannel: convert start_auth_async into an ordinary methodSimon McVittie1-66/+17
2010-11-23Add a stub DefaultUsername property pending addition to the specSimon McVittie1-0/+17
2010-11-23Derive the authz. identity and default realm from the GabbleConnectionSimon McVittie1-33/+24
This includes a behaviour change: the authorization identity hint changes from e.g. 'user' to 'user@example.com', as described in RFC 3920 §6.
2010-11-23Supply the SASL channel's immutable properties at construct-timeSimon McVittie1-39/+82
2010-11-23GabbleAuthManager: only have a channel while authentication takes placeSimon McVittie1-6/+2
Much like the design of GabbleTLSManager, this makes the code "the right shape".
2010-11-23GabbleServerSaslChannel: don't handle the chain-up caseSimon McVittie1-51/+14
The channel manager does that now.
2010-11-23Update SASL code to draft 2Simon McVittie1-194/+244
This isn't fully correct yet, but it compiles and passes the existing tests (with suitable updates).
2010-10-28Merge branch 'telepathy-gabble-0.10'Simon McVittie1-1/+4
2010-10-28conditionally include unistd.hThomas Flueeli1-1/+4
2010-10-20GabbleServerSaslChannel: stop making assumptions about how Wocky implements ↵Simon McVittie1-9/+100
its async callback In principle, we're not meant to assume anything about @result - even that it's a GSimpleAsyncResult. (This broke when Wocky changed its source tags from _finish to the more conventional _async.)
2010-10-13GabbleServerSaslChannel: stop making assumptions about how Wocky implements ↵Simon McVittie1-9/+100
its async callback In principle, we're not meant to assume anything about @result - even that it's a GSimpleAsyncResult. (This broke when Wocky changed its source tags from _finish to the more conventional _async.)
2010-09-21various: use tp_clear_object, tp_clear_pointer moreSimon McVittie1-2/+1
2010-09-21Server SASL channel: use the connection's TpDBusDaemonSimon McVittie1-3/+2
2010-06-03Fix coding style error in ServerSaslChannelWill Thompson1-4/+3
There was no space between the (gchar *) cast and i->data. But the cast is unnecessary anyway, as is the cast away from const GSList * to GSList * if we just change the type of 'i'. Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2010-06-02Add a NULL check for GAsyncResult in dbus methods, an additional sanity check.Eitan Isaacson1-4/+5
2010-06-02Remove pointer address from sasl channel obj patch.Eitan Isaacson1-2/+2
2010-06-02Use Secure channel property.Eitan Isaacson1-0/+18
2010-06-02Robustified method calls in channel to gracefully fail when used incorrectly.Eitan Isaacson1-18/+33
2010-06-02Fixed missing space between arguments.Eitan Isaacson1-1/+1
2010-06-02Start SASL channel if username or password are NULL.Eitan Isaacson1-1/+1
2010-06-02Implement GetInterfaces for SASL channelsDanielle Madeley1-0/+13
2010-06-02Removed new dbus errors and made better use of existing ones.Eitan Isaacson1-2/+26
2010-06-02raise error when selecting unavailable mechanism.Eitan Isaacson1-11/+35