~corey.bryant/ubuntu/wily/python-pysaml2/3.0.0

« back to all changes in this revision

Viewing changes to tests/sp_2_conf.py

  • Committer: Package Import Robot
  • Author(s): Thomas Goirand
  • Date: 2014-09-08 16:11:53 UTC
  • Revision ID: package-import@ubuntu.com-20140908161153-vms9r4gu0oz4v4ai
Tags: upstream-2.0.0
ImportĀ upstreamĀ versionĀ 2.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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": ["http://lingon.catalogix.se:8087/"],
 
11
                },
 
12
            "required_attributes": ["surName", "givenName", "mail"],
 
13
            "optional_attributes": ["title"],
 
14
            "idp": ["urn:mace:example.com:saml:roland:idp"],
 
15
            }
 
16
    },
 
17
    "debug" : 1,
 
18
    "key_file" : full_path("test.key"),
 
19
    "cert_file" : full_path("test.pem"),
 
20
    "xmlsec_binary" : None,
 
21
    "metadata": {
 
22
        "local": [full_path("idp_2.xml")],
 
23
        },
 
24
    "virtual_organization" : {
 
25
        "urn:mace:example.com:it:tek":{
 
26
            "nameid_format" : "urn:oid:1.3.6.1.4.1.1466.115.121.1.15-NameID",
 
27
            "common_identifier": "umuselin",
 
28
            }
 
29
    },
 
30
    "subject_data": full_path("subject_data.db"),
 
31
    "accepted_time_diff": 60,
 
32
    "attribute_map_dir" : full_path("attributemaps"),
 
33
    "organization": {
 
34
        "name": ("AB Exempel", "se"),
 
35
        "display_name": ("AB Exempel", "se"),
 
36
        "url": "http://www.example.org",
 
37
        },
 
38
    "contact_person": [{
 
39
        "given_name": "Roland",
 
40
        "sur_name": "Hedberg",
 
41
        "telephone_number": "+46 70 100 0000",
 
42
        "email_address": ["tech@eample.com", "tech@example.org"],
 
43
        "contact_type": "technical"
 
44
    },
 
45
    ],
 
46
    "secret": "0123456789",
 
47
    "only_use_keys_in_metadata": True
 
48
    }