Skip to content

Commit 8b823d6

Browse files
author
Roland Hedberg
committed
Add missing file.
1 parent 63e7731 commit 8b823d6

File tree

1 file changed

+70
-0
lines changed

1 file changed

+70
-0
lines changed

tests/sp_mdext_conf.py

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
from pathutils import full_path
2+
3+
CONFIG = {
4+
"entityid": "urn:mace:example.com:saml:roland:sp",
5+
"name": "urn:mace:example.com:saml:roland:sp",
6+
"description": "My own SP",
7+
"service": {
8+
"sp": {
9+
"endpoints": {
10+
"assertion_consumer_service": [
11+
"http://lingon.catalogix.se:8087/"],
12+
},
13+
"required_attributes": ["surName", "givenName", "mail"],
14+
"optional_attributes": ["title"],
15+
"idp": ["urn:mace:example.com:saml:roland:idp"],
16+
"extensions": {
17+
"mdui": {
18+
"UIInfo": {
19+
"display_name": {"text": "NORDUnet", "lang": "en"},
20+
"description": {
21+
"text": "The NORDUnet A/S Identity Provider ..",
22+
"lang": "en"},
23+
"logo": {
24+
"text": "https://www.nordu"
25+
".net/resources/NORDUnet2.jpg",
26+
"lang": "en", "height": 46, "width": 203}
27+
},
28+
"DiscoHints": {
29+
"domain_hint": {"text": "nordu.net"}
30+
}
31+
},
32+
"shibmd": {
33+
"Scope": {"regexp": "false", "text": "nordu.net"}
34+
},
35+
}
36+
}
37+
},
38+
"debug": 1,
39+
"key_file": full_path("test.key"),
40+
"cert_file": full_path("test.pem"),
41+
"xmlsec_binary": None,
42+
"metadata": {
43+
"local": [full_path("idp_2.xml")],
44+
},
45+
"virtual_organization": {
46+
"urn:mace:example.com:it:tek": {
47+
"nameid_format": "urn:oid:1.3.6.1.4.1.1466.115.121.1.15-NameID",
48+
"common_identifier": "umuselin",
49+
}
50+
},
51+
"subject_data": full_path("subject_data.db"),
52+
"accepted_time_diff": 60,
53+
"attribute_map_dir": full_path("attributemaps"),
54+
"organization": {
55+
"name": ("AB Exempel", "se"),
56+
"display_name": ("AB Exempel", "se"),
57+
"url": "http://www.example.org",
58+
},
59+
"contact_person": [
60+
{
61+
"given_name": "Roland",
62+
"sur_name": "Hedberg",
63+
"telephone_number": "+46 70 100 0000",
64+
"email_address": ["[email protected]", "[email protected]"],
65+
"contact_type": "technical"
66+
},
67+
],
68+
"secret": "0123456789",
69+
"only_use_keys_in_metadata": True,
70+
}

0 commit comments

Comments
 (0)