[prev in list] [next in list] [prev in thread] [next in thread] 

List:       imap
Subject:    Re: [Imap-protocol] example of authentication PLAIN with imap?
From:       Dave Cridland <dave () cridland ! net>
Date:       2008-01-27 9:24:06
Message-ID: 19909.1201425846.570755 () peirce ! dave ! cridland ! net
[Download RAW message or body]

On Sat Jan 26 00:22:56 2008, Mark Crispin wrote:
> Last, and absolutely least, RFC 4959 details a way that the initial  
> response can be sent in the AUTHENTICATE command IF, AND ONLY IF,  
> the server allows that facility.  Note that the client is under no  
> obligation to use that facility even if the server allows it.

ACAP always offers this facility, but likewise does not mandate that  
clients avail themselves of it - it cannot, in fact; there's text in  
the SASL base spec saying so. So Mark's note above could be clarified  
  further by adding "[...] and the client understands the extension".  
(That said, where the server offers it and the client does understand  
it, it's likely to be used wherever possible - it's a most trivial  
extension on both ends).

ACAP's challenges and responses are binary, not base64 encoded, so  
it's very often used in SASL mechanism examples for readability,  
since it's the only SASL profile which does this in a text-based  
protocol.

ACAP can also supply completion data on success - a final SASL  
response in the tagged OK response - and I seem to remember seeing  
occasional examples in documents showing IMAP doing the same, but  
I've never found a specification saying so - I suspect this is a case  
of people transcribing examples from ACAP to IMAP in order to use a  
more popular protocol. A minor case of caveat lector - the examples  
can be wrong.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@jabber.org
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade
_______________________________________________
Imap-protocol mailing list
Imap-protocol@u.washington.edu
https://mailman1.u.washington.edu/mailman/listinfo/imap-protocol
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic