Skip to content

Commit 21e018b

Browse files
committed
Updated the conf.example files
1 parent ec56e05 commit 21e018b

File tree

2 files changed

+8
-42
lines changed

2 files changed

+8
-42
lines changed

example/idp2/idp_conf.py.example

Lines changed: 8 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,16 @@ except ImportError:
1515
get_xmlsec_binary = None
1616

1717
if get_xmlsec_binary:
18-
xmlsec_path = get_xmlsec_binary(["/opt/local/bin","/usr/local/bin"])
18+
xmlsec_path = get_xmlsec_binary(["/opt/local/bin"])
1919
else:
20-
xmlsec_path = '/usr/local/bin/xmlsec1'
20+
xmlsec_path = '/usr/bin/xmlsec1'
2121

2222
BASEDIR = os.path.abspath(os.path.dirname(__file__))
2323

2424

2525
def full_path(local_file):
2626
return os.path.join(BASEDIR, local_file)
2727

28-
#HOST = '130.239.200.190'
2928
HOST = 'localhost'
3029
PORT = 8088
3130

@@ -44,7 +43,7 @@ CERT_CHAIN = ""
4443
CONFIG = {
4544
"entityid": "%s/idp.xml" % BASE,
4645
"description": "My IDP",
47-
# "valid_for": 168,
46+
"valid_for": 168,
4847
"service": {
4948
"aa": {
5049
"endpoints": {
@@ -92,29 +91,6 @@ CONFIG = {
9291
("%s/nim" % BASE, BINDING_SOAP),
9392
],
9493
},
95-
"ui_info": {
96-
"display_name": [
97-
{
98-
"text": "InAcademia.org - TEST",
99-
"lang": "en"
100-
}
101-
],
102-
"description": [
103-
{
104-
"text": "The InAcademia Simple validation Sevice allows for the easy validation of affiliation (Student, Faculty, Staff) of a user in Academia. This is a TEST instance",
105-
"lang": "en"
106-
}
107-
],
108-
"logo": [
109-
{
110-
"text": "https://inacademia.org/static/logo.png",
111-
"width": "120",
112-
"height": "60",
113-
"lang": "en"
114-
115-
}
116-
],
117-
},
11894
"policy": {
11995
"default": {
12096
"lifetime": {"minutes": 15},
@@ -132,23 +108,19 @@ CONFIG = {
132108
"key_file": full_path("pki/mykey.pem"),
133109
"cert_file": full_path("pki/mycert.pem"),
134110
"metadata": {
135-
#"local": [full_path("../sp-wsgi/sp.xml")],
136-
"local": ["/Users/mathiashedstrom/work/DIRG/VOpaas_proxy/example/saml2.xml"],
137-
# "local": ["/Users/mathiashedstrom/work/DIRG/VOpaas_proxy/example/proxy.xml"],
138-
# "local": ["/Users/mathiashedstrom/work/DIRG/s2sproxy/example/proxy.xml"],
111+
"local": [full_path("../sp-wsgi/sp.xml")],
139112
},
140113
"organization": {
141-
"display_name": [("Rolands Identiteter", "en")],
142-
"name": [("Rolands Identiteter", "se"), ("Rolands Identities", "en")],
143-
"url": [("http://www.example.com", "en"), ("http://www.example.se", "se")],
114+
"display_name": "Rolands Identiteter",
115+
"name": "Rolands Identiteter",
116+
"url": "http://www.example.com",
144117
},
145118
"contact_person": [
146119
{
147120
"contact_type": "technical",
148121
"given_name": "Roland",
149122
"sur_name": "Hedberg",
150-
"email_address": ["[email protected]", "[email protected]"],
151-
123+
"email_address": "[email protected]"
152124
}, {
153125
"contact_type": "support",
154126
"given_name": "Support",

example/sp-wsgi/sp_conf.py.example

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,6 @@ CONFIG = {
3333
("%s/slo/redirect" % BASE, BINDING_HTTP_REDIRECT),
3434
("%s/slo/post" % BASE, BINDING_HTTP_POST),
3535
],
36-
"discovery_response": [
37-
[
38-
"%s/disco" % BASE,
39-
"urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"
40-
]
41-
]
4236
}
4337
},
4438
},

0 commit comments

Comments
 (0)