summaryrefslogtreecommitdiff
path: root/tests/server3_conf.py
diff options
context:
space:
mode:
authorRoland Hedberg <roland.hedberg@adm.umu.se>2012-05-23 18:56:51 +0200
committerRoland Hedberg <roland.hedberg@adm.umu.se>2012-05-23 18:56:51 +0200
commit1d7b2964d16b5c4443a3e7037d1bffe281726fc6 (patch)
treef191828115e6f89419cb8c2b34652546bab37889 /tests/server3_conf.py
downloadpysaml2-1d7b2964d16b5c4443a3e7037d1bffe281726fc6.tar.gz
Initial add0.4.2
Diffstat (limited to 'tests/server3_conf.py')
-rw-r--r--tests/server3_conf.py49
1 files changed, 49 insertions, 0 deletions
diff --git a/tests/server3_conf.py b/tests/server3_conf.py
new file mode 100644
index 00000000..d09c1f0b
--- /dev/null
+++ b/tests/server3_conf.py
@@ -0,0 +1,49 @@
+try:
+ from xmlsec_location import xmlsec_path
+except ImportError:
+ xmlsec_path = '/opt/local/bin/xmlsec1'
+
+CONFIG = {
+ "entityid" : "urn:mace:example.com:saml:roland:sp",
+ "name" : "urn:mace:example.com:saml:roland:sp",
+ "description": "My own SP",
+ "service": {
+ "sp": {
+ "endpoints":{
+ "assertion_consumer_service": ["http://lingon.catalogix.se:8087/"],
+ },
+ "required_attributes": ["surName", "givenName", "mail"],
+ "optional_attributes": ["title"],
+ "idp":["urn:mace:example.com:saml:roland:idp"],
+ "subject_data": "subject_data.db",
+ }
+ },
+ "debug" : 1,
+ "key_file" : "test.key",
+ "cert_file" : "test.pem",
+ #"xmlsec_binary" : xmlsec_path,
+ "metadata": {
+ "local": ["idp_aa.xml", "vo_metadata.xml"],
+ },
+ "virtual_organization" : {
+ "urn:mace:example.com:it:tek":{
+ "nameid_format" : "urn:oid:1.3.6.1.4.1.1466.115.121.1.15-NameID",
+ "common_identifier": "umuselin",
+ }
+ },
+ "accepted_time_diff": 60,
+ "attribute_map_dir" : "attributemaps",
+ "organization": {
+ "name": ("AB Exempel", "se"),
+ "display_name": ("AB Exempel", "se"),
+ "url": "http://www.example.org",
+ },
+ "contact_person": [{
+ "given_name": "Roland",
+ "sur_name": "Hedberg",
+ "telephone_number": "+46 70 100 0000",
+ "email_address": ["tech@example.com", "tech@example.org"],
+ "contact_type": "technical"
+ },
+ ]
+}