merge patched-debian into debian
[trust_router.git] / debian / patches / upstream / 0002-Bring-back-portal.cfg-and-manual.cfg.patch
1 From 94b3a9a144e60c28e7c1d8a9cefe1b66a6f8091d Mon Sep 17 00:00:00 2001
2 From: Sam Hartman <hartmans@debian.org>
3 Date: Fri, 26 Sep 2014 11:26:15 -0400
4 Subject: Bring back portal.cfg and manual.cfg
5
6 Patch-Category: upstream
7 ---
8  tr/manual.cfg |  2 ++
9  tr/portal.cfg | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
10  2 files changed, 86 insertions(+)
11  create mode 100644 tr/manual.cfg
12  create mode 100644 tr/portal.cfg
13
14 diff --git a/tr/manual.cfg b/tr/manual.cfg
15 new file mode 100644
16 index 0000000..5d33638
17 --- /dev/null
18 +++ b/tr/manual.cfg
19 @@ -0,0 +1,2 @@
20 +{"tr_internal":{"max_tree_depth": 4,
21 +                "hostname":"margaret-moonshot3.local"}}
22 \ No newline at end of file
23 diff --git a/tr/portal.cfg b/tr/portal.cfg
24 new file mode 100644
25 index 0000000..6ead29d
26 --- /dev/null
27 +++ b/tr/portal.cfg
28 @@ -0,0 +1,84 @@
29 +{
30 +  "communities": [
31 +    {
32 +      "apcs": [
33 +      ],
34 +      "community_id": "apc.painless-security.com",
35 +      "idp_realms": [
36 +      ],
37 +      "rp_realms": [
38 +        "margaret-2.painless-security.com"
39 +      ],
40 +      "type": "apc"
41 +    }
42 +  ],
43 +  "idp_realms": [
44 +    {
45 +      "aaa_servers": [
46 +        "127.0.0.1"
47 +      ],
48 +      "apcs": [
49 +        "pci-community.ja.net"
50 +      ],
51 +      "realm_id": "idr1.offcenter.org",
52 +      "shared_config": "yes"
53 +    },
54 +    {
55 +      "aaa_servers": [
56 +        "127.0.0.1"
57 +      ],
58 +      "apcs": [
59 +        "pci-community.ja.net"
60 +      ],
61 +      "realm_id": "idr2.offcenter.org",
62 +      "shared_config": "no"
63 +    },
64 +    {
65 +      "aaa_servers": [
66 +        "10.1.10.90"
67 +      ],
68 +      "apcs": [
69 +        "pci-community.ja.net"
70 +      ],
71 +      "realm_id": "ja.net",
72 +      "shared_config": "no"
73 +    },
74 +    {
75 +      "aaa_servers": [
76 +        "127.0.0.1"
77 +      ],
78 +      "apcs": [
79 +        "pci-community.ja.net"
80 +      ],
81 +      "realm_id": "no-longer-untitled.offcenter.org",
82 +      "shared_config": "yes"
83 +    }
84 +  ],
85 +  "rp_clients": [
86 +    {
87 +      "filter": {
88 +        "filter_lines": [
89 +          {
90 +            "action": "accept",
91 +            "domain_constraints": ["*.painless-security.com"],
92 +            "filter_specs": [
93 +              {
94 +                "field": "rp_realm",
95 +                "match": "margaret-2.painless-security.com"
96 +              },
97 +              {
98 +                "field": "rp_realm",
99 +                "match": "*.margaret-2.painless-security.com"
100 +              }
101 +            ],
102 +            "realm_constraints": ["*.painless-security.com", "a.com"]
103 +          }
104 +        ],
105 +        "type": "rp_permitted"
106 +      },
107 +      "gss_names": [
108 +        "4b95cd61-616f-48f2-9713-7d2cbe19ce69@apc.painless-security.com"
109 +      ]
110 +    }
111 +  ]
112 +}