Dynamic figuring out where xmlsec is.
This commit is contained in:
parent
4dd2ff4690
commit
f265c3b421
@ -3,9 +3,10 @@ from saml2 import BINDING_SOAP, BINDING_HTTP_REDIRECT, NAME_FORMAT_URI
|
||||
BASE = "http://localhost:8089/"
|
||||
|
||||
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={
|
||||
"service":{
|
||||
|
@ -3,9 +3,10 @@ from saml2.saml import NAMEID_FORMAT_PERSISTENT
|
||||
from saml2.saml import NAME_FORMAT_URI
|
||||
|
||||
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'
|
||||
|
||||
BASE = "http://localhost:8088"
|
||||
|
||||
|
@ -3,10 +3,10 @@ from saml2.saml import NAMEID_FORMAT_PERSISTENT
|
||||
from saml2.saml import NAME_FORMAT_URI
|
||||
|
||||
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:idp",
|
||||
|
@ -3,9 +3,10 @@ from saml2.saml import NAMEID_FORMAT_PERSISTENT
|
||||
from saml2.saml import NAME_FORMAT_URI
|
||||
|
||||
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:idp",
|
||||
|
@ -7,10 +7,10 @@ from saml2.saml import NAME_FORMAT_URI
|
||||
BASE = "http://localhost:8088/"
|
||||
|
||||
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:idp",
|
||||
|
@ -4,9 +4,10 @@ from saml2.saml import NAME_FORMAT_URI
|
||||
BASE = "http://localhost:8089/"
|
||||
|
||||
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:idpr",
|
||||
|
@ -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 = {
|
||||
|
@ -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",
|
||||
|
@ -1,9 +1,10 @@
|
||||
__author__ = 'rolandh'
|
||||
|
||||
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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -3,9 +3,10 @@ from saml2.saml import NAMEID_FORMAT_PERSISTENT
|
||||
from saml2.saml import NAME_FORMAT_URI
|
||||
|
||||
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'
|
||||
|
||||
HOME = "http://lingon.catalogix.se:8087/"
|
||||
CONFIG = {
|
||||
|
Loading…
Reference in New Issue
Block a user