Class IncludingGroupMembership

java.lang.Object
com.google.gerrit.server.account.IncludingGroupMembership
All Implemented Interfaces:
GroupMembership

public class IncludingGroupMembership extends Object implements GroupMembership
Determines membership in the internal group system for a given user.

Groups the user is directly a member of are pulled from the in-memory AccountCache by way of the IdentifiedUser. Transitive group memberhips are resolved on demand starting from the requested group and looking for a path to a group the user is a member of. Other group backends are supported by recursively invoking the universal GroupMembership.