Add entrypoint for Federated Kerberos

Closes-Bug: 1593885

Change-Id: I6cf01a796d96001812ef078acfde9a367f216b7a
This commit is contained in:
Adam Young 2016-06-17 22:23:21 -04:00 committed by Steve Martinelli
parent bf53e7e044
commit d86df8613e
2 changed files with 12 additions and 0 deletions

View File

@ -23,3 +23,14 @@ class Kerberos(loading.BaseV3Loader):
@property @property
def available(self): def available(self):
return kerberos.requests_kerberos is not None return kerberos.requests_kerberos is not None
class MappedKerberos(loading.BaseV3Loader):
@property
def plugin_class(self):
return kerberos.MappedKerberos
@property
def available(self):
return kerberos.requests_kerberos is not None

View File

@ -50,6 +50,7 @@ keystoneauth1.plugin =
v3oauth1 = keystoneauth1.extras.oauth1._loading:V3OAuth1 v3oauth1 = keystoneauth1.extras.oauth1._loading:V3OAuth1
v3kerberos = keystoneauth1.extras.kerberos._loading:Kerberos v3kerberos = keystoneauth1.extras.kerberos._loading:Kerberos
v3totp = keystoneauth1.loading._plugins.identity.v3:TOTP v3totp = keystoneauth1.loading._plugins.identity.v3:TOTP
v3fedkerb = keystoneauth1.extras.kerberos._loading:MappedKerberos
[build_sphinx] [build_sphinx]
source-dir = doc/source source-dir = doc/source