diff options
author | Hans Hörberg <hans.horberg@umu.se> | 2014-05-13 08:45:27 +0200 |
---|---|---|
committer | Hans Hörberg <hans.horberg@umu.se> | 2014-05-13 08:45:27 +0200 |
commit | 25eabadd68c09a28185a402de2d61aef84ba99ec (patch) | |
tree | dd8ffa4e3c267a017f85c7923df8d2dda7c332b9 /example/sp-repoze/sp_conf.example | |
parent | 73820615f574bb5188d4e59e4138f7cb6586f03b (diff) | |
download | pysaml2-25eabadd68c09a28185a402de2d61aef84ba99ec.tar.gz |
Added the possibility to change host and port.
Added the possibility to change host and port in the configuration file.
This is needed for the raspberry install scripts.
Diffstat (limited to 'example/sp-repoze/sp_conf.example')
-rw-r--r-- | example/sp-repoze/sp_conf.example | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/example/sp-repoze/sp_conf.example b/example/sp-repoze/sp_conf.example index 5d244ac0..df808b64 100644 --- a/example/sp-repoze/sp_conf.example +++ b/example/sp-repoze/sp_conf.example @@ -1,8 +1,10 @@ from saml2 import BINDING_HTTP_REDIRECT from saml2.saml import NAME_FORMAT_URI -BASE= "http://localhost:8087" -#BASE= "http://lingon.catalogix.se:8087" +HOST = 'localhost' +PORT = 8087 + +BASE = "http://%s:%s" % (HOST, PORT) CONFIG = { "entityid": "%s/sp.xml" % BASE, |