POC Campus Condorcet : parametrage integration dans la federation RENATER de test

This commit is contained in:
Paul Marillonnet 2017-10-18 09:46:46 +02:00
parent a2a4a61470
commit 0bc4765a34
1 changed files with 8 additions and 5 deletions

View File

@ -77,7 +77,6 @@ MELLON_ATTRIBUTE_MAPPING = {
'prenom': 'urn:oid:2.5.4.42', # givenName
'nom': 'urn:oid:2.5.4.4', # sn
'email' : 'urn:oid:0.9.2342.19200300.100.1.3', # mail
'password' : 'password',
'ep_principal_name' : 'urn:oid:1.3.6.1.4.1.5923.1.1.1.6', # eduPersonPrincipalName
's_etablissement' : 'urn:oid:1.3.6.1.4.1.7135.1.2.1.14', # supannEtablissement
'ep_primary_affiliation' : 'urn:oid:1.3.6.1.4.1.5923.1.1.1.5', # eduPersonPrimaryAffiliation
@ -92,11 +91,15 @@ MELLON_SUPERUSER_MAPPING = {
'is_superuser': 'true',
}
MELLON_USERNAME_TEMPLATE = '{attributes[name_id_content]}'
MELLON_IDENTITY_PROVIDERS = [{
'METADATA_URL': 'http://idp-condorcet.dev.entrouvert.org/idp/saml2/metadata'
}]
MELLON_TRANSIENT_FEDERATION_ATTRIBUTE = 'urn:oid:1.3.6.1.4.1.5923.1.1.1.10'
MELLON_IDENTITY_PROVIDERS = [
{'METADATA_URL': 'http://idp-condorcet.dev.entrouvert.org/idp/saml2/metadata'},
{'METADATA_URL': 'https://idp-campus-condorcet.renater.fr/idp/shibboleth'},
{'METADATA_URL': 'https://shibboleth.ehess.fr/idp/shibboleth'},
{'METADATA_URL': 'https://federation-identite.univ-paris13.fr/idp/shibboleth'}
]
MELLON_DISCOVERY_SERVICE_URL = "https://discovery.renater.fr/test"