Skip to content

Commit cb6c2d4

Browse files
author
Hans Hörberg
committed
Changed the config to an example file.
1 parent f534a16 commit cb6c2d4

File tree

3 files changed

+51
-173
lines changed

3 files changed

+51
-173
lines changed

example/sp-repoze/sp.xml

Lines changed: 0 additions & 34 deletions
This file was deleted.

example/sp-repoze/sp_conf.example

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
from saml2 import BINDING_HTTP_REDIRECT
2+
from saml2.saml import NAME_FORMAT_URI
3+
4+
BASE= "http://localhost:8087"
5+
#BASE= "http://lingon.catalogix.se:8087"
6+
7+
CONFIG = {
8+
"entityid": "%s/sp.xml" % BASE,
9+
"description": "My SP",
10+
"service": {
11+
"sp": {
12+
"name": "Rolands SP",
13+
"endpoints": {
14+
"assertion_consumer_service": [BASE],
15+
"single_logout_service": [(BASE + "/slo",
16+
BINDING_HTTP_REDIRECT)],
17+
},
18+
"required_attributes": ["surname", "givenname",
19+
"edupersonaffiliation"],
20+
"optional_attributes": ["title"],
21+
}
22+
},
23+
"debug": 1,
24+
"key_file": "pki/mykey.pem",
25+
"cert_file": "pki/mycert.pem",
26+
"attribute_map_dir": "./attributemaps",
27+
"metadata": {"local": ["../idp2/idp.xml"]},
28+
# -- below used by make_metadata --
29+
"organization": {
30+
"name": "Exempel AB",
31+
"display_name": [("Exempel AB", "se"), ("Example Co.", "en")],
32+
"url": "http://www.example.com/roland",
33+
},
34+
"contact_person": [{
35+
"given_name":"John",
36+
"sur_name": "Smith",
37+
"email_address": ["[email protected]"],
38+
"contact_type": "technical",
39+
},
40+
],
41+
#"xmlsec_binary":"/opt/local/bin/xmlsec1",
42+
"name_form": NAME_FORMAT_URI,
43+
"logger": {
44+
"rotating": {
45+
"filename": "sp.log",
46+
"maxBytes": 100000,
47+
"backupCount": 5,
48+
},
49+
"loglevel": "debug",
50+
}
51+
}

example/sp-repoze/sp_conf.py

Lines changed: 0 additions & 139 deletions
This file was deleted.

0 commit comments

Comments
 (0)