removed debug prints and editorial change
This commit is contained in:
@@ -224,8 +224,11 @@ class MetaData(object):
|
|||||||
except KeyError:
|
except KeyError:
|
||||||
return []
|
return []
|
||||||
loc = []
|
loc = []
|
||||||
|
#print idps
|
||||||
for idp in idps:
|
for idp in idps:
|
||||||
|
#print "==",idp.keyswv()
|
||||||
for sso in idp.single_sign_on_service:
|
for sso in idp.single_sign_on_service:
|
||||||
|
#print "SSO",sso
|
||||||
if binding == sso.binding:
|
if binding == sso.binding:
|
||||||
loc.append(sso.location)
|
loc.append(sso.location)
|
||||||
return loc
|
return loc
|
||||||
@@ -260,7 +263,7 @@ class MetaData(object):
|
|||||||
except KeyError:
|
except KeyError:
|
||||||
return []
|
return []
|
||||||
|
|
||||||
def consumer_url(self, entity_id, binding = BINDING_HTTP_POST):
|
def consumer_url(self, entity_id, binding=BINDING_HTTP_POST, log=None):
|
||||||
try:
|
try:
|
||||||
ssos = self.entity[entity_id]["sp_sso"]
|
ssos = self.entity[entity_id]["sp_sso"]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
|||||||
Reference in New Issue
Block a user