Code for TR to change a COI to an APC in forwarded reqs, also some reorg of request...
[trust_router.git] / tr / portal.cfg
1 {
2     "communities": [
3         {
4             "apcs": [], 
5             "community_id": "pci-community.ja.net", 
6             "idp_realms": [], 
7             "rp_realms": [], 
8             "type": "apc"
9         }, 
10         {
11             "apcs": [], 
12             "community_id": "community.ja.net", 
13             "idp_realms": [], 
14             "rp_realms": [], 
15             "type": "apc"
16         }, 
17         {
18             "apcs": [
19                 "pci-community.ja.net"
20             ], 
21             "community_id": "comm.offcenter.org", 
22             "idp_realms": [
23                 "idr2.offcenter.org"
24             ], 
25             "rp_realms": [
26                 "sr3.offcenter.org"
27             ], 
28             "type": "coi"
29         }
30     ], 
31     "idp_realms": [
32         {
33             "aaa_servers": ["10.1.10.90"], 
34             "apcs": ["community.ja.net"], 
35             "realm_id": "ja.net", 
36             "shared_config": "no"
37         }, 
38         {
39             "aaa_servers": ["127.0.0.1"], 
40             "apcs": ["community.ja.net"], 
41             "realm_id": "idr2.offcenter.org", 
42             "shared_config": "no"
43         }, 
44         {
45             "aaa_servers": ["127.0.0.1"], 
46             "apcs": ["community.ja.net"], 
47             "realm_id": "idr1.offcenter.org", 
48             "shared_config": "yes"
49         }, 
50         {
51             "aaa_servers": ["127.0.0.1"], 
52             "apcs": ["community.ja.net"], 
53             "realm_id": "no-longer-untitled.offcenter.org", 
54             "shared_config": "yes"
55         }
56     ], 
57     "rp_clients": [
58         {
59             "filter": {
60                 "filter_lines": [
61                     {
62                         "action": "accept", 
63                         "domain_constraints": [], 
64                         "filter_specs": [
65                             {
66                                 "field": "rp_realm", 
67                                 "rp_realm": "*.exchange.ja.net"
68                             }
69                         ], 
70                         "realm_constraints": []
71                     }
72                 ], 
73                 "type": "rp_permitted"
74             }, 
75             "gss_names": [
76                 "this.is.a.dandy.gss.name@creds.portal.ja.net"
77             ]
78         }, 
79         {
80             "filter": {
81                 "filter_lines": [
82                     {
83                         "action": "accept", 
84                         "domain_constraints": [], 
85                         "filter_specs": [
86                             {
87                                 "field": "rp_realm", 
88                                 "rp_realm": "*.sr3.offcenter.org"
89                             }
90                         ], 
91                         "realm_constraints": []
92                     }
93                 ], 
94                 "type": "rp_permitted"
95             }, 
96             "gss_names": [
97                 "this.is.a.dandy.gss.name@creds.portal.ja.net"
98             ]
99         }, 
100         {
101             "filter": {
102                 "filter_lines": [
103                     {
104                         "action": "accept", 
105                         "domain_constraints": [], 
106                         "filter_specs": [
107                             {
108                                 "field": "rp_realm", 
109                                 "rp_realm": "*.shell.ja.net"
110                             }
111                         ], 
112                         "realm_constraints": []
113                     }
114                 ], 
115                 "type": "rp_permitted"
116             }, 
117             "gss_names": [
118                 "this.is.a.dandy.gss.name@creds.portal.ja.net"
119             ]
120         }, 
121         {
122             "filter": {
123                 "filter_lines": [
124                     {
125                         "action": "accept", 
126                         "domain_constraints": [], 
127                         "filter_specs": [
128                             {
129                                 "field": "rp_realm", 
130                                 "rp_realm": "*.sr2.offcenter.org"
131                             }
132                         ], 
133                         "realm_constraints": []
134                     }
135                 ], 
136                 "type": "rp_permitted"
137             }, 
138             "gss_names": [
139                 "this.is.a.dandy.gss.name@creds.portal.ja.net"
140             ]
141         }, 
142         {
143             "filter": {
144                 "filter_lines": [
145                     {
146                         "action": "accept", 
147                         "domain_constraints": [], 
148                         "filter_specs": [
149                             {
150                                 "field": "rp_realm", 
151                                 "rp_realm": "*.sr1.offcenter.org"
152                             }
153                         ], 
154                         "realm_constraints": []
155                     }
156                 ], 
157                 "type": "rp_permitted"
158             }, 
159             "gss_names": [
160                 "this.is.a.dandy.gss.name@creds.portal.ja.net"
161             ]
162         }, 
163         {
164             "filter": {
165                 "filter_lines": [
166                     {
167                         "action": "accept", 
168                         "domain_constraints": [], 
169                         "filter_specs": [
170                             {
171                                 "field": "rp_realm", 
172                                 "rp_realm": "*.sr4.offcenter.org"
173                             }
174                         ], 
175                         "realm_constraints": []
176                     }
177                 ], 
178                 "type": "rp_permitted"
179             }, 
180             "gss_names": [
181                 "this.is.a.dandy.gss.name@creds.portal.ja.net"
182             ]
183         }, 
184         {
185             "filter": {
186                 "filter_lines": [
187                     {
188                         "action": "accept", 
189                         "domain_constraints": [], 
190                         "filter_specs": [
191                             {
192                                 "field": "rp_realm", 
193                                 "rp_realm": "*.billing.ja.net"
194                             }
195                         ], 
196                         "realm_constraints": []
197                     }
198                 ], 
199                 "type": "rp_permitted"
200             }, 
201             "gss_names": [
202                 "this.is.a.dandy.gss.name@creds.portal.ja.net"
203             ]
204         }
205     ]
206 }
207