mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
iotivity: add some default security configuration
This is just a dummy configuration. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
The file oic_svr_db.cbor in generated from the oic_svr_db.json with the
|
||||
resource/csdk/security/tool/json2cbor.c tool.
|
||||
Binary file not shown.
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"acl": {
|
||||
"aclist": {
|
||||
"aces": [
|
||||
{
|
||||
"subjectuuid": "*",
|
||||
"resources": [
|
||||
{
|
||||
"href": "/oic/res",
|
||||
"rel": "",
|
||||
"rt": "",
|
||||
"if": ""
|
||||
},
|
||||
{
|
||||
"href": "/oic/d",
|
||||
"rel": "",
|
||||
"rt": "",
|
||||
"if": ""
|
||||
},
|
||||
{
|
||||
"href": "/oic/p",
|
||||
"rel": "",
|
||||
"rt": "",
|
||||
"if": ""
|
||||
},
|
||||
{
|
||||
"href": "/oic/res/d",
|
||||
"rel": "",
|
||||
"rt": "",
|
||||
"if": ""
|
||||
},
|
||||
{
|
||||
"href": "/oic/res/types/d",
|
||||
"rel": "",
|
||||
"rt": "",
|
||||
"if": ""
|
||||
},
|
||||
{
|
||||
"href": "/oic/ad",
|
||||
"rel": "",
|
||||
"rt": "",
|
||||
"if": ""
|
||||
},
|
||||
{
|
||||
"href": "/oic/sec/acl",
|
||||
"rel": "",
|
||||
"rt": "",
|
||||
"if": ""
|
||||
},
|
||||
{
|
||||
"href": "/oic/sec/amacl",
|
||||
"rel": "",
|
||||
"rt": "",
|
||||
"if": ""
|
||||
},
|
||||
{
|
||||
"href": "/oic/sec/doxm",
|
||||
"rel": "",
|
||||
"rt": "",
|
||||
"if": ""
|
||||
},
|
||||
{
|
||||
"href": "/oic/sec/pstat",
|
||||
"rel": "",
|
||||
"rt": "",
|
||||
"if": ""
|
||||
}
|
||||
],
|
||||
"permission": 2
|
||||
},
|
||||
{
|
||||
"subjectuuid": "32323232-3232-3232-3232-323232323232",
|
||||
"resources": [
|
||||
{
|
||||
"href": "/oic/sec/acl",
|
||||
"rel": "",
|
||||
"rt": "",
|
||||
"if": ""
|
||||
} ,
|
||||
{
|
||||
"href": "/oic/sec/cred",
|
||||
"rel": "",
|
||||
"rt": "",
|
||||
"if": ""
|
||||
}
|
||||
],
|
||||
"permission": 31
|
||||
},
|
||||
{
|
||||
"subjectuuid": "*",
|
||||
"resources": [
|
||||
{
|
||||
"href": "*",
|
||||
"rel": "",
|
||||
"rt": "",
|
||||
"if": ""
|
||||
}
|
||||
],
|
||||
"permission": 6
|
||||
}
|
||||
]
|
||||
},
|
||||
"rowneruuid" : "31313131-3131-3131-3131-313131313131"
|
||||
},
|
||||
"pstat": {
|
||||
"isop": true,
|
||||
"deviceuuid": "31313131-3131-3131-3131-313131313131",
|
||||
"rowneruuid": "31313131-3131-3131-3131-313131313131",
|
||||
"cm": 0,
|
||||
"tm": 0,
|
||||
"om": 3,
|
||||
"sm": 3
|
||||
},
|
||||
"doxm": {
|
||||
"oxms": [0],
|
||||
"oxmsel": 0,
|
||||
"sct": 1,
|
||||
"owned": true,
|
||||
"deviceuuid": "31313131-3131-3131-3131-313131313131",
|
||||
"devowneruuid": "32323232-3232-3232-3232-323232323232",
|
||||
"rowneruuid": "31313131-3131-3131-3131-313131313131",
|
||||
"dpc": false
|
||||
},
|
||||
"cred": {
|
||||
"creds": [
|
||||
{
|
||||
"credid": 1,
|
||||
"subjectuuid": "32323232-3232-3232-3232-323232323232",
|
||||
"credtype": 1,
|
||||
"privatedata": {
|
||||
"data": "AAAAAAAAAAAAAAAA",
|
||||
"encoding": "oic.sec.encoding.raw"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rowneruuid": "32323232-3232-3232-3232-323232323232"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user