Dynamic figuring out where xmlsec is.

This commit is contained in:
Roland Hedberg 2012-12-16 10:06:31 +01:00
parent 5f7ffbe133
commit 4dd2ff4690

View File

@ -1,7 +1,8 @@
try:
from xmlsec_location import xmlsec_path
from saml2.sigver import get_xmlsec_binary
xmlsec_path = get_xmlsec_binary(["/opt/local/bin"])
except ImportError:
xmlsec_path = '/opt/local/bin/xmlsec1'
xmlsec_path = '/usr/bin/xmlsec1'
CONFIG={
"entityid" : "urn:mace:example.com:saml:roland:sp",