z4r / python-rtkit

Python Api for Request Tracker's REST interface
http://z4r.github.com/python-rtkit/
Other
68 stars 44 forks source link

Replace urllib2_kerberos with urllib_gssapi #59

Closed frozencemetery closed 3 years ago

frozencemetery commented 6 years ago

This allows all available GSSAPI mechanisms to be used in authentication, not just Kerberos. urllib_gssapi is based on the more powerful python-gssapi instead of python-kerberos. python-kerberos is slated for removal from Fedora.

(In an ideal world, we'd also rename the exported class from "KerberosAuthenticator" to "GSSAPIAuthenticator" or "SPNEGOAuthenticator", but I don't know how feasible that is. It'd also be easy to have a new name shim an old one.)

(Information on python-kerberos deprecation can be found here, but ignore the deadline; I'm behind where I'd hoped to be.)