Add a verbone names to CAS_FEDERATE_PROVIDERS

This commit is contained in:
Valentin Samir
2016-06-21 14:42:35 +02:00
parent 46cfaa6745
commit a00e5d403d
4 changed files with 44 additions and 8 deletions

View File

@ -181,3 +181,10 @@ def gen_pgtiou():
def gen_saml_id():
"""Generate an saml id"""
return _gen_ticket('_')
def get_tuple(tuple, index, default=None):
try:
return tuple[index]
except IndexError:
return default