Hi Nathan and all,
So, if I would like to create a credential for a group all members of which
can access a certain resource, I should create:
{
"credid": 1,
"subjectuuid": "12345678-1234-1234-1234-123456789012", /* The group uuid*/
"credtype": 2, /* symmetric group key */
"privatedata": {
"data": "AAAAAAAAAAAAAAAA",
"encoding": "oic.sec.encoding.raw"
},
"period": "20150630T060000/20990920T220000"
}
Specs says group key establishes group membership but not authentication.
It specifically states "Group level access is implemented using Role
Credentials and/or connection type". What shall I use in the ACL for the
resource that has group-level access? Would the ACL below work? I don't
think so.
{
"aceid": 1,
"subject": { "conntype": "auth-crypt" }, /* if we want to add
roletype, do we need a certificate with roleid?*/
"resources": [
{ "href": "/a/myresource" }
],
"permission": 14
}
Best regards,
Khaled
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#10008):
https://lists.iotivity.org/g/iotivity-dev/message/10008
Mute This Topic: https://lists.iotivity.org/mt/28091827/21656
Group Owner: [email protected]
Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-