1 from saml2.saml import NAME_FORMAT_URI
2 from saml2 import BINDING_PAOS
4 # *** Change this line ***
5 BASE= "http://localhost:8088/"
7 # Don't change this line unless you know exactly what you are doing
8 BASEDIR = "/usr/local/etc/moonshot/"
11 "entityid" : BASE + "metadata.xml",
12 "description": "Radius SP",
17 "assertion_consumer_service": [BASE,
18 (BASE+"ECP", BINDING_PAOS)],
20 # ** These you might want to change **
21 # "required_attributes": ["surname", "givenName",
22 # "eduPersonAffiliation"],
23 # "optional_attributes": ["title"],
27 "key_file" : BASEDIR + "pki/ssl.key",
28 "cert_file" : BASEDIR + "pki/ssl.cert",
29 "attribute_map_dir" : BASEDIR + "attributemaps",
31 "local": [BASEDIR + "metadata.xml"],
33 # in case xmlsec1 isn't anywhere normal
34 "xmlsec_binary":"/opt/local/bin/xmlsec1",
35 "name_form": NAME_FORMAT_URI,
36 # -- below used by make_metadata --
37 # ** These you probably want to change **
40 "display_name": [("Exempel AB","se"),("Example Co.","en")],
41 "url":"http://www.example.com/roland",
46 "email_address": ["john.smith@example.com"],
47 "contact_type": "technical",