Use json_is_true() in place of json_boolean_value() for compatibility
[trust_router.git] / tr / organizations.cfg
1 {
2   "communities": [
3     {
4       "apcs": [],
5       "community_id": "apc.x",
6       "idp_realms": ["apc.x",
7                      "idp.x",
8                      "other.idp.x"],
9       "rp_realms": ["rp.x",
10                     "other.rp.x"],
11       "type": "apc",
12       "expiration_interval": 30
13     },
14     {
15       "apcs": ["apc.x"],
16       "community_id": "coi.x",
17       "idp_realms": ["idp.x"],
18       "rp_realms": ["rp.x"],
19       "type": "coi"
20     }
21   ],
22   "local_organizations": [
23     {
24       "organization_name": "APC",
25       "realms": [
26         {
27           "realm": "apc.x",
28           "identity_provider": {
29             "aaa_servers": [
30               "apc.example.com"
31             ],
32             "apcs": [
33               "apc.x"
34             ],
35             "shared_config": "no"
36           }
37         }
38       ]
39     },
40     {
41       "organization_name": "Demo Organization",
42       "realms": [
43         {
44           "realm": "rp.x",
45           "gss_names": ["rp-cred@apc.x",
46                         "second-rp-cred@apc.x"],
47           "filters": {
48             "tid_inbound": [
49               {
50                 "action": "accept",
51                 "domain_constraints": [
52                   "*.example.com"
53                 ],
54                 "specs": [
55                   {
56                     "field": "rp_realm",
57                     "match": [
58                       "rp.x", "*.rp.x"
59                     ]
60                   }
61                 ],
62                 "realm_constraints": [
63                   "rp.x", "*.rp.x"
64                 ]
65               }
66             ]
67           }
68         },
69         {
70           "realm": "other.rp.x",
71           "gss_names": ["other-rp-cred@apc.x"]
72         },
73         {
74           "realm": "idp.x",
75           "gss_names": ["idp-cred@apc.x"],
76           "identity_provider": {
77             "aaa_servers": ["idp.example.com"],
78             "apcs": ["apc.x"],
79             "shared_config": "no"
80           }
81         },
82         {
83           "realm": "other.idp.x",
84           "gss_names": ["other-idp-cred@apc.x"],
85           "identity_provider": {
86             "aaa_servers": ["idp.example.com"],
87             "apcs": ["apc.x"],
88             "shared_config": "no"
89           }
90         }
91       ]
92     }
93   ],
94   "peer_organizations": [
95     {
96       "hostname": "peer.example.com",
97       "port": 12310,
98       "gss_names": ["peer-cred@apc.x"]
99     }
100   ]
101 }