Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hook up GetSubjectDescriptor in GroupSession #15091

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions src/transport/GroupSession.h
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down