Completion of constraints code, not fully tested.
[trust_router.git] / tr / portal.cfg
index 5541fd4..0998e1f 100644 (file)
@@ -79,9 +79,7 @@
         "filter_lines": [
           {
             "action": "accept",
-            "domain_constraints": [
-
-            ],
+            "domain_constraints": ["*.exchange.ja.net"],
             "filter_specs": [
               {
                 "field": "rp_realm",
@@ -92,9 +90,7 @@
                 "match": "*.exchange.ja.net"
               }
             ],
-            "realm_constraints": [
-
-            ]
+            "realm_constraints": ["*.exchange.ja.net", "a.com"]
           }
         ],
         "type": "rp_permitted"
         "filter_lines": [
           {
             "action": "accept",
-            "domain_constraints": [
-
-            ],
+            "domain_constraints": ["*.bob.sr3.offcenter.org"],
             "filter_specs": [
               {
                 "field": "rp_realm",
                 "match": "*.sr3.offcenter.org"
               }
             ],
-            "realm_constraints": [
-
-            ]
+            "realm_constraints": ["*.sr3.offcenter.org" ]
           }
         ],
         "type": "rp_permitted"