summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorMathias Hedström <mathias.hedstrom.mh@gmail.com>2015-10-06 13:38:25 +0200
committerMathias Hedström <mathias.hedstrom.mh@gmail.com>2015-10-06 13:38:25 +0200
commit21e018bb18ea1af00f7f8e83bf3a1cdc04b5ac93 (patch)
tree94afbcc8258bbd7e3ff53a6f4949f6bb157f2947 /example
parentec56e05f066fda52309e3801ff6261c9ec7a8501 (diff)
downloadpysaml2-21e018bb18ea1af00f7f8e83bf3a1cdc04b5ac93.tar.gz
Updated the conf.example files
Diffstat (limited to 'example')
-rw-r--r--example/idp2/idp_conf.py.example44
-rw-r--r--example/sp-wsgi/sp_conf.py.example6
2 files changed, 8 insertions, 42 deletions
diff --git a/example/idp2/idp_conf.py.example b/example/idp2/idp_conf.py.example
index 05a94f7f..1a2e4ec8 100644
--- a/example/idp2/idp_conf.py.example
+++ b/example/idp2/idp_conf.py.example
@@ -15,9 +15,9 @@ except ImportError:
get_xmlsec_binary = None
if get_xmlsec_binary:
- xmlsec_path = get_xmlsec_binary(["/opt/local/bin","/usr/local/bin"])
+ xmlsec_path = get_xmlsec_binary(["/opt/local/bin"])
else:
- xmlsec_path = '/usr/local/bin/xmlsec1'
+ xmlsec_path = '/usr/bin/xmlsec1'
BASEDIR = os.path.abspath(os.path.dirname(__file__))
@@ -25,7 +25,6 @@ BASEDIR = os.path.abspath(os.path.dirname(__file__))
def full_path(local_file):
return os.path.join(BASEDIR, local_file)
-#HOST = '130.239.200.190'
HOST = 'localhost'
PORT = 8088
@@ -44,7 +43,7 @@ CERT_CHAIN = ""
CONFIG = {
"entityid": "%s/idp.xml" % BASE,
"description": "My IDP",
- # "valid_for": 168,
+ "valid_for": 168,
"service": {
"aa": {
"endpoints": {
@@ -92,29 +91,6 @@ CONFIG = {
("%s/nim" % BASE, BINDING_SOAP),
],
},
- "ui_info": {
- "display_name": [
- {
- "text": "InAcademia.org - TEST",
- "lang": "en"
- }
- ],
- "description": [
- {
- "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",
- "lang": "en"
- }
- ],
- "logo": [
- {
- "text": "https://inacademia.org/static/logo.png",
- "width": "120",
- "height": "60",
- "lang": "en"
-
- }
- ],
- },
"policy": {
"default": {
"lifetime": {"minutes": 15},
@@ -132,23 +108,19 @@ CONFIG = {
"key_file": full_path("pki/mykey.pem"),
"cert_file": full_path("pki/mycert.pem"),
"metadata": {
- #"local": [full_path("../sp-wsgi/sp.xml")],
- "local": ["/Users/mathiashedstrom/work/DIRG/VOpaas_proxy/example/saml2.xml"],
- # "local": ["/Users/mathiashedstrom/work/DIRG/VOpaas_proxy/example/proxy.xml"],
- # "local": ["/Users/mathiashedstrom/work/DIRG/s2sproxy/example/proxy.xml"],
+ "local": [full_path("../sp-wsgi/sp.xml")],
},
"organization": {
- "display_name": [("Rolands Identiteter", "en")],
- "name": [("Rolands Identiteter", "se"), ("Rolands Identities", "en")],
- "url": [("http://www.example.com", "en"), ("http://www.example.se", "se")],
+ "display_name": "Rolands Identiteter",
+ "name": "Rolands Identiteter",
+ "url": "http://www.example.com",
},
"contact_person": [
{
"contact_type": "technical",
"given_name": "Roland",
"sur_name": "Hedberg",
- "email_address": ["technical@example.com", "support@example.com"],
-
+ "email_address": "technical@example.com"
}, {
"contact_type": "support",
"given_name": "Support",
diff --git a/example/sp-wsgi/sp_conf.py.example b/example/sp-wsgi/sp_conf.py.example
index ddf6c4a1..46adaa9b 100644
--- a/example/sp-wsgi/sp_conf.py.example
+++ b/example/sp-wsgi/sp_conf.py.example
@@ -33,12 +33,6 @@ CONFIG = {
("%s/slo/redirect" % BASE, BINDING_HTTP_REDIRECT),
("%s/slo/post" % BASE, BINDING_HTTP_POST),
],
- "discovery_response": [
- [
- "%s/disco" % BASE,
- "urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"
- ]
- ]
}
},
},