Skip to content

Commit a582dcc

Browse files
committed
Add Kerberos specific GSS-API Extensions
Adds some of the Kerberos specific GSS-API extension methods. These methods are useful when migrating from the Kerberos API to GSS-API or when needing Kerberos specific functionality that is not exposed in GSS-API. Signed-off-by: Jordan Borean <jborean93@gmail.com>
1 parent 3724894 commit a582dcc

File tree

9 files changed

+978
-0
lines changed

9 files changed

+978
-0
lines changed

README.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ In addition to RFC 2743/2744, Python-GSSAPI also has support for:
165165

166166
* GGF Extensions
167167

168+
* Kerberos specific extensions
169+
168170
The Team
169171
========
170172

docs/source/gssapi.raw.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,13 @@ Acquiring Credentials With a Password Extensions
173173
:members:
174174
:undoc-members:
175175

176+
Kerberos Specific Extensions
177+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
178+
179+
.. automodule:: gssapi.raw.ext_krb5
180+
:members:
181+
:undoc-members:
182+
176183
Other Extensions
177184
~~~~~~~~~~~~~~~~
178185

gssapi/raw/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,12 @@
125125
except ImportError:
126126
pass
127127

128+
# optional KRB5 specific extension support
129+
try:
130+
from gssapi.raw.ext_krb5 import * # noqa
131+
except ImportError:
132+
pass
133+
128134
# optional RFC 6680 support
129135
try:
130136
from gssapi.raw.ext_rfc6680 import * # noqa

gssapi/raw/ext_krb5.pxd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
cdef class Krb5LucidContext:
2+
cdef void *raw_ctx

0 commit comments

Comments
 (0)