26 lines
795 B
Diff
26 lines
795 B
Diff
|
From 96b613e5fdb8c109a501a93a8b3f1bfa190054ec Mon Sep 17 00:00:00 2001
|
||
|
From: Arthur Heijnen <arthur.heijnen@live.nl>
|
||
|
Date: Fri, 21 May 2021 18:43:01 +0200
|
||
|
Subject: [PATCH] Added Kerberos delegation
|
||
|
|
||
|
---
|
||
|
cepces/soap/auth.py | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/cepces/soap/auth.py b/cepces/soap/auth.py
|
||
|
index 14ba785..17f06ca 100644
|
||
|
--- a/cepces/soap/auth.py
|
||
|
+++ b/cepces/soap/auth.py
|
||
|
@@ -114,7 +114,7 @@ class TransportKerberosAuthentication(Authentication):
|
||
|
os.environ["KRB5CCNAME"] = ccache_name
|
||
|
|
||
|
def _init_transport(self):
|
||
|
- self._transport = HTTPKerberosAuth(principal=self._config['name'])
|
||
|
+ self._transport = HTTPKerberosAuth(principal=self._config['name'], delegate=True)
|
||
|
|
||
|
@property
|
||
|
def transport(self):
|
||
|
--
|
||
|
2.31.1
|
||
|
|