Add GSSAPI/Kerberos authentication via Negotiate
authorGuido Günther <agx@sigxcpu.org>
Fri, 8 Apr 2016 20:57:57 +0000 (22:57 +0200)
committerGuido Günther <agx@sigxcpu.org>
Sat, 9 Apr 2016 19:29:50 +0000 (21:29 +0200)
commitb2e25a1dbea0dd517884d95eb12c05f1f9d1e66e
tree66ae05bada819b962f27081c1edfa5cba2908893
parent0fe561dd45e8a1f9a46dbb1c1e2e642b367b17d8
Add GSSAPI/Kerberos authentication via Negotiate

When the service name is set via the servicename config option and
pykerberos is installed allow authentication via the negotiate header.

Since this is not using basic auth and its on top of all other
authenciation schemes its not implemented as an acl module. This will
also allow us to make the whole negotiate auth be connection based in
the future.

The current code results in the user being "user@REALM" so in case of
using "acl.personal=True" the directories need to be name like this as
well so we want to add a user to principal mapping at one point.

This has been succesfully tested with iceowl.
README
calypso/__init__.py
calypso/acl/nopwd.py
calypso/gssapi.py [new file with mode: 0644]