diff --git a/src/transport/GroupSession.h b/src/transport/GroupSession.h index dee5d6f5de5e1c..b90d966a528f70 100644 --- a/src/transport/GroupSession.h +++ b/src/transport/GroupSession.h @@ -40,10 +40,11 @@ class GroupSession : public Session Access::SubjectDescriptor GetSubjectDescriptor() const override { - Access::SubjectDescriptor isd; - isd.authMode = Access::AuthMode::kGroup; - // TODO: fill other group subjects fields - return isd; // return an empty ISD for unauthenticated session. + Access::SubjectDescriptor subjectDescriptor; + subjectDescriptor.authMode = Access::AuthMode::kGroup; + subjectDescriptor.subject = NodeIdFromGroupId(mGroupId); + subjectDescriptor.fabricIndex = GetFabricIndex(); + return subjectDescriptor; } bool RequireMRP() const override { return false; }