Integrate aai-schema-ingest library into aai-core
[aai/aai-common.git] / aai-core / src / test / resources / bundleconfig-local / etc / auth / aai_policy.json
1 {
2   "roles": [
3     {
4       "name": "testRole",
5       "functions": [
6         {
7           "name": "testFunction",
8           "methods": [
9             {
10               "name": "GET"
11             },
12             {
13               "name": "DELETE"
14             },
15             {
16               "name": "PUT"
17             }
18           ]
19         }
20       ],
21       "users": [
22         {
23           "username": "testUser"
24         },
25         {
26           "username": "testWildcardId",
27           "is-wildcard-id": true
28         }
29       ]
30     },
31     {
32       "name": "HAProxy",
33       "functions": [
34         {
35           "name": "util",
36           "methods": [
37             {
38               "name": "GET"
39             }
40           ]
41         }
42       ],
43       "users": [
44         {
45           "username": "ha-proxy-user"
46         },
47         {
48           "username": "ha-proxy-wildcard-id",
49           "is-wildcard-id": true
50         }
51       ]
52     },
53     {
54       "name": "testBasicAuth",
55       "functions": [
56         {
57           "name": "testBasicAuthFunction",
58           "methods": [
59             {
60               "name": "GET"
61             }
62           ]
63         }
64       ],
65       "users": [
66         {
67           "user": "testBasicAuthUser",
68           "pass": "OBF:1ytc1vu91v2p1rxf1mqh1v8s1z0d1msn1san1mqf1z0h1v9u1msl1rvf1v1p1vv11yta"
69         }
70       ]
71     }
72   ]
73 }