[Mpuls-commits] r921 - wasko/branches/2.0/waskaweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Jan 26 18:36:39 CET 2010
Author: torsten
Date: 2010-01-26 18:36:37 +0100 (Tue, 26 Jan 2010)
New Revision: 921
Modified:
wasko/branches/2.0/waskaweb/lib/helpers.py
Log:
* waskaweb/lib/helpers.py (getKAName): Removed. Is not imported from lib.security now.
Modified: wasko/branches/2.0/waskaweb/lib/helpers.py
===================================================================
--- wasko/branches/2.0/waskaweb/lib/helpers.py 2010-01-26 17:34:54 UTC (rev 920)
+++ wasko/branches/2.0/waskaweb/lib/helpers.py 2010-01-26 17:36:37 UTC (rev 921)
@@ -229,22 +229,6 @@
out.append(p)
return out
-def getKAName():
- kaname = ""
- try:
- for f in slashSplit(request.environ['SSL_CLIENT_S_DN'])[::-1]:
- field = f.split('=')
- # There are two OU. We want the one != WASKA
- if field[0] == "OU" and field[1] != "WASKA":
- kaname = field[1]
- except:
- try:
- kaname = config.get('mpuls.app.name')
- except:
- log.error("Could not fetch KA-name from client certificate")
- return kaname
-
-
# Phases helpers. Used in evaluation
def get_phasesuccessors(p):
#p = int(p)
More information about the Mpuls-commits
mailing list