Only do the IdP endpoint lookup once.
Changed the assertion fragmentation to create 247 chars pieces.
Included the template directory in the distribution.
Changed version number.
recursive-include pki ssl.*
recursive-include attributemaps *.py
recursive-include attributemaps *.pyc
+recursive-include template *
recursive-exclude template modules_python
recursive-include etc *_config.py metadata.xml pysaml_config.py
# If you don't want to used Basic-Auth you can place the username in a
# header. This defines the header name
-USERNAME_HEADER = "X-Moonshot-Username"
\ No newline at end of file
+USERNAME_HEADER = "X-Moonshot-Username"
+
+# is the path of a file containing root CA certificates for SSL
+# server certificate validation.
+
+CA_CERTS = ""
+
+# If disable_ssl_certificate_validation is true, SSL cert validation will
+# not be performed.
+
+DISABLE_SSL_CERTIFICATE_VALIDATION = True
\ No newline at end of file
except AttributeError:
headers = None
- print >> sys.stderr, "Headers: %s" % headers
+ print >> sys.stderr, "Headers: {0:>s}".format(headers)
# send the request and receive the response
- response = ecp.phase2(request, acsu, idp_entity_id, headers)
+ response = ecp.phase2(request, acsu, idp_entity_id, headers,
+ destination)
except Exception, exc:
exception_trace("soap", exc, log)
if log:
attr = "SAML-AAA-Assertion"
#attr = "UKERNA-Attr-%d" % 132
#attr = "Vendor-%d-Attr-%d" % (25622, 132)
- restup = (tuple([(attr, x) for x in eq_len_parts("%s" % _assertion, 248)]))
+ restup = (tuple([(attr, x) for x in eq_len_parts("%s" % _assertion, 247)]))
return radiusd.RLM_MODULE_UPDATED, restup, None
setup(# Distribution meta-data
name = "freeradius_pysaml2",
- version = "0.0.5",
+ version = "0.0.6",
description = "FreeRadius python modules to be used in Moonshot",
author = "Roland Hedberg",
author_email = "roland.hedberg@adm.umu.se",