Code for TR to change a COI to an APC in forwarded reqs, also some reorg of request...
[trust_router.git] / tr / portal.cfg
diff --git a/tr/portal.cfg b/tr/portal.cfg
new file mode 100644 (file)
index 0000000..b096938
--- /dev/null
@@ -0,0 +1,207 @@
+{
+    "communities": [
+        {
+            "apcs": [], 
+            "community_id": "pci-community.ja.net", 
+            "idp_realms": [], 
+            "rp_realms": [], 
+            "type": "apc"
+        }, 
+        {
+            "apcs": [], 
+            "community_id": "community.ja.net", 
+            "idp_realms": [], 
+            "rp_realms": [], 
+            "type": "apc"
+        }, 
+        {
+            "apcs": [
+                "pci-community.ja.net"
+            ], 
+            "community_id": "comm.offcenter.org", 
+            "idp_realms": [
+                "idr2.offcenter.org"
+            ], 
+            "rp_realms": [
+                "sr3.offcenter.org"
+            ], 
+            "type": "coi"
+        }
+    ], 
+    "idp_realms": [
+        {
+            "aaa_servers": ["10.1.10.90"], 
+            "apcs": ["community.ja.net"], 
+            "realm_id": "ja.net", 
+            "shared_config": "no"
+        }, 
+        {
+            "aaa_servers": ["127.0.0.1"], 
+            "apcs": ["community.ja.net"], 
+            "realm_id": "idr2.offcenter.org", 
+            "shared_config": "no"
+        }, 
+        {
+            "aaa_servers": ["127.0.0.1"], 
+            "apcs": ["community.ja.net"], 
+            "realm_id": "idr1.offcenter.org", 
+            "shared_config": "yes"
+        }, 
+        {
+            "aaa_servers": ["127.0.0.1"], 
+            "apcs": ["community.ja.net"], 
+            "realm_id": "no-longer-untitled.offcenter.org", 
+            "shared_config": "yes"
+        }
+    ], 
+    "rp_clients": [
+        {
+            "filter": {
+                "filter_lines": [
+                    {
+                        "action": "accept", 
+                        "domain_constraints": [], 
+                        "filter_specs": [
+                            {
+                                "field": "rp_realm", 
+                                "rp_realm": "*.exchange.ja.net"
+                            }
+                        ], 
+                        "realm_constraints": []
+                    }
+                ], 
+                "type": "rp_permitted"
+            }, 
+            "gss_names": [
+                "this.is.a.dandy.gss.name@creds.portal.ja.net"
+            ]
+        }, 
+        {
+            "filter": {
+                "filter_lines": [
+                    {
+                        "action": "accept", 
+                        "domain_constraints": [], 
+                        "filter_specs": [
+                            {
+                                "field": "rp_realm", 
+                                "rp_realm": "*.sr3.offcenter.org"
+                            }
+                        ], 
+                        "realm_constraints": []
+                    }
+                ], 
+                "type": "rp_permitted"
+            }, 
+            "gss_names": [
+                "this.is.a.dandy.gss.name@creds.portal.ja.net"
+            ]
+        }, 
+        {
+            "filter": {
+                "filter_lines": [
+                    {
+                        "action": "accept", 
+                        "domain_constraints": [], 
+                        "filter_specs": [
+                            {
+                                "field": "rp_realm", 
+                                "rp_realm": "*.shell.ja.net"
+                            }
+                        ], 
+                        "realm_constraints": []
+                    }
+                ], 
+                "type": "rp_permitted"
+            }, 
+            "gss_names": [
+                "this.is.a.dandy.gss.name@creds.portal.ja.net"
+            ]
+        }, 
+        {
+            "filter": {
+                "filter_lines": [
+                    {
+                        "action": "accept", 
+                        "domain_constraints": [], 
+                        "filter_specs": [
+                            {
+                                "field": "rp_realm", 
+                                "rp_realm": "*.sr2.offcenter.org"
+                            }
+                        ], 
+                        "realm_constraints": []
+                    }
+                ], 
+                "type": "rp_permitted"
+            }, 
+            "gss_names": [
+                "this.is.a.dandy.gss.name@creds.portal.ja.net"
+            ]
+        }, 
+        {
+            "filter": {
+                "filter_lines": [
+                    {
+                        "action": "accept", 
+                        "domain_constraints": [], 
+                        "filter_specs": [
+                            {
+                                "field": "rp_realm", 
+                                "rp_realm": "*.sr1.offcenter.org"
+                            }
+                        ], 
+                        "realm_constraints": []
+                    }
+                ], 
+                "type": "rp_permitted"
+            }, 
+            "gss_names": [
+                "this.is.a.dandy.gss.name@creds.portal.ja.net"
+            ]
+        }, 
+        {
+            "filter": {
+                "filter_lines": [
+                    {
+                        "action": "accept", 
+                        "domain_constraints": [], 
+                        "filter_specs": [
+                            {
+                                "field": "rp_realm", 
+                                "rp_realm": "*.sr4.offcenter.org"
+                            }
+                        ], 
+                        "realm_constraints": []
+                    }
+                ], 
+                "type": "rp_permitted"
+            }, 
+            "gss_names": [
+                "this.is.a.dandy.gss.name@creds.portal.ja.net"
+            ]
+        }, 
+        {
+            "filter": {
+                "filter_lines": [
+                    {
+                        "action": "accept", 
+                        "domain_constraints": [], 
+                        "filter_specs": [
+                            {
+                                "field": "rp_realm", 
+                                "rp_realm": "*.billing.ja.net"
+                            }
+                        ], 
+                        "realm_constraints": []
+                    }
+                ], 
+                "type": "rp_permitted"
+            }, 
+            "gss_names": [
+                "this.is.a.dandy.gss.name@creds.portal.ja.net"
+            ]
+        }
+    ]
+}
+