[CalendarServer-dev] [Calendar and Contacts Server] #481: [PATCH] Add delegation support, a Pythonic API, and remove base64
Calendar and Contacts Server
trac at macosforge.org
Sun May 13 15:07:22 PDT 2012
#481: [PATCH] Add delegation support, a Pythonic API, and remove base64
------------------------------+---------------------------------------------
Reporter: daniel@… | Owner: wsanchez@…
Type: Feature | Status: new
Priority: 5: Not set | Milestone:
Component: PyKerberos | Severity: Other
Keywords: | Radar:
------------------------------+---------------------------------------------
The combination of these allow the creation of e.g. web interfaces that
connect to other services on behalf of the user.
The delegation is to allow for services acting on behalf of the user.
Removing the previously forced base64 makes it possible to use as an
authenticator in other Python modules, for instance imaplib.IMAP4.
The Pythonic API means a GSSAPI-authenticated IMAP instantiation looks
like:
{{{
imap = imaplib.IMAP4('mail.example.com', 143)
imap.authenticate('GSSAPI', kerberos.GSSAPIClient('imap at mail.example.com',
username='username', do_base64=False))
}}}
which IMHO looks a lot nicer than what is presently needed.
--
Ticket URL: <http://trac.calendarserver.org/ticket/481>
Calendar and Contacts Server </>
HTTP/WebDAV/CalDAV Server
More information about the calendarserver-dev
mailing list