7cbe1d424abf9b5623af5a8731f637c763d4a627
[iotivity.git] / resource / csdk / security / provisioning / sample / oic_svr_db_server_randompin.json
1 {\r
2     "acl": {\r
3         "aclist2": [\r
4             {\r
5                 "aceid": 1,\r
6                 "subject": {\r
7                   "conntype": "anon-clear"\r
8                 },\r
9                 "resources": [\r
10                     {\r
11                         "href": "/oic/res",\r
12                         "rel": "",\r
13                         "rt": ["oic.wk.res"],\r
14                         "if": ["oic.if.ll"]\r
15                     },{\r
16                         "href": "/oic/d",\r
17                         "rel": "",\r
18                         "rt": ["oic.wk.d"],\r
19                         "if": ["oic.if.baseline", "oic.if.r"]\r
20                     },{\r
21                         "href": "/oic/p",\r
22                         "rel": "",\r
23                         "rt": ["oic.wk.p"],\r
24                         "if": ["oic.if.baseline", "oic.if.r"]\r
25                     }\r
26                 ],\r
27                 "permission": 2\r
28             },\r
29             {\r
30                 "aceid": 2,\r
31                 "subject": {\r
32                   "conntype": "auth-crypt"\r
33                 },\r
34                 "resources": [\r
35                     {\r
36                         "href": "/oic/res",\r
37                         "rel": "",\r
38                         "rt": ["oic.wk.res"],\r
39                         "if": ["oic.if.ll"]\r
40                     },{\r
41                         "href": "/oic/d",\r
42                         "rel": "",\r
43                         "rt": ["oic.wk.d"],\r
44                         "if": ["oic.if.baseline", "oic.if.r"]\r
45                     },{\r
46                         "href": "/oic/p",\r
47                         "rel": "",\r
48                         "rt": ["oic.wk.p"],\r
49                         "if": ["oic.if.baseline", "oic.if.r"]\r
50                     }\r
51                 ],\r
52                 "permission": 2\r
53             },\r
54             {\r
55                 "aceid": 3,\r
56                 "subject": {\r
57                   "conntype": "anon-clear"\r
58                 },\r
59                 "resources": [\r
60                     {\r
61                         "href": "/oic/sec/doxm",\r
62                         "rel": "",\r
63                         "rt": ["oic.r.doxm"],\r
64                         "if": ["oic.if.baseline"]\r
65                     }\r
66                 ],\r
67                 "permission": 6\r
68             },\r
69             {\r
70                 "aceid": 4,\r
71                 "subject": {\r
72                   "conntype": "auth-crypt"\r
73                 },\r
74                 "resources": [\r
75                     {\r
76                         "href": "/oic/sec/doxm",\r
77                         "rel": "",\r
78                         "rt": ["oic.r.doxm"],\r
79                         "if": ["oic.if.baseline"]\r
80                     }\r
81                 ],\r
82                 "permission": 6\r
83             },\r
84             {\r
85                 "aceid": 5,\r
86                 "subject": {\r
87                   "conntype": "anon-clear"\r
88                 },\r
89                 "resources": [\r
90                         {\r
91                             "href": "/oic/sec/roles",\r
92                             "rel": "",\r
93                             "rt": ["oic.r.cred"],\r
94                             "if": ["oic.if.baseline"]\r
95                         }\r
96                     ],\r
97                 "permission": 31\r
98             },\r
99             {\r
100                 "aceid": 6,\r
101                 "subject": {\r
102                   "conntype": "auth-crypt"\r
103                 },\r
104                 "resources": [\r
105                         {\r
106                             "href": "/oic/sec/roles",\r
107                             "rel": "",\r
108                             "rt": ["oic.r.cred"],\r
109                             "if": ["oic.if.baseline"]\r
110                         }\r
111                     ],\r
112                 "permission": 31\r
113             }\r
114         ],\r
115         "rowneruuid": "00000000-0000-0000-0000-000000000000"\r
116     },\r
117     "pstat": {\r
118         "dos": {"s": 1, "p": false},\r
119         "isop": false,\r
120         "cm": 2,\r
121         "tm": 0,\r
122         "om": 4,\r
123         "sm": 4,\r
124         "rowneruuid": "00000000-0000-0000-0000-000000000000"\r
125     },\r
126     "doxm": {\r
127         "oxms": [0, 1],\r
128         "oxmsel": 0,\r
129         "sct": 1,\r
130         "owned": false,\r
131         "deviceuuid": "87654321-4321-4321-4321-CBA987654321",\r
132         "devowneruuid": "00000000-0000-0000-0000-000000000000",\r
133         "rowneruuid": "00000000-0000-0000-0000-000000000000"\r
134     }\r
135 }\r