Skip to content

urllib/urllib2 backend for GSSAPI/SPNEGO authentication to HTTP/HTTPS servers

License

Unknown, Apache-2.0 licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
COPYING
Notifications You must be signed in to change notification settings

pythongssapi/urllib-gssapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a2ef442 · Aug 17, 2021

History

66 Commits
Mar 19, 2021
Mar 19, 2021
Mar 19, 2021
Dec 9, 2016
Aug 17, 2021
Jul 1, 2008
Feb 23, 2018
Feb 23, 2018
Mar 19, 2021
Feb 17, 2018
Mar 19, 2021

urllib_gssapi

urllib_gssapi is a urllib backend for GSSAPI/SPNEGO authentication to HTTP servers.

Usage

urllib_gssapi replaces urllib_kerberos, and behaves the same way - just rename to HTTPSPNEGOAuthHandler.

With an array of your other handlers (or just an empty one):

Python 3

import urllib.request
import urllib_gssapi

handlers.append(urllib_gssapi.HTTPSPNEGOAuthHandler())

opener = urllib.request.build_opener(*handlers)
urllib.request.install_opener(opener)
request = urllib.request.Request(url, data)

Credits

Robbie Harwood ported to python-gssapi and renamed to urllib_gssapi (this repo!).

Will Thames maintained a fork for a while.

Tim Olsen was the original author of urllib2_kerberos library which is the bulk of the content of the urllib_kerberos module.

About

urllib/urllib2 backend for GSSAPI/SPNEGO authentication to HTTP/HTTPS servers

Resources

License

Unknown, Apache-2.0 licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
COPYING

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages