@@ -15,17 +15,16 @@ except ImportError:
15
15
get_xmlsec_binary = None
16
16
17
17
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" ])
19
19
else :
20
- xmlsec_path = '/usr/local/ bin/xmlsec1'
20
+ xmlsec_path = '/usr/bin/xmlsec1'
21
21
22
22
BASEDIR = os .path .abspath (os .path .dirname (__file__ ))
23
23
24
24
25
25
def full_path (local_file ):
26
26
return os .path .join (BASEDIR , local_file )
27
27
28
- #HOST = '130.239.200.190'
29
28
HOST = 'localhost'
30
29
PORT = 8088
31
30
@@ -44,7 +43,7 @@ CERT_CHAIN = ""
44
43
CONFIG = {
45
44
"entityid" : "%s/idp.xml" % BASE ,
46
45
"description" : "My IDP" ,
47
- # "valid_for": 168,
46
+ "valid_for" : 168 ,
48
47
"service" : {
49
48
"aa" : {
50
49
"endpoints" : {
@@ -92,29 +91,6 @@ CONFIG = {
92
91
("%s/nim" % BASE , BINDING_SOAP ),
93
92
],
94
93
},
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
- },
118
94
"policy" : {
119
95
"default" : {
120
96
"lifetime" : {"minutes" : 15 },
@@ -132,23 +108,19 @@ CONFIG = {
132
108
"key_file" : full_path ("pki/mykey.pem" ),
133
109
"cert_file" : full_path ("pki/mycert.pem" ),
134
110
"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" )],
139
112
},
140
113
"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" ,
144
117
},
145
118
"contact_person" : [
146
119
{
147
120
"contact_type" : "technical" ,
148
121
"given_name" : "Roland" ,
149
122
"sur_name" : "Hedberg" ,
150
-
151
-
123
+ "email_address" :
"[email protected] "
152
124
}, {
153
125
"contact_type" : "support" ,
154
126
"given_name" : "Support" ,
0 commit comments