mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
08.19.2007 51ba7605f49c3fc3b9eb8ec44b279b24737d50d1
opends/src/server/org/opends/server/extensions/DynamicGroup.java
@@ -299,9 +299,14 @@
   * {@inheritDoc}
   */
  @Override()
  public boolean isMember(DN userDN)
  public boolean isMember(DN userDN, Set<DN> examinedGroups)
         throws DirectoryException
  {
    if (! examinedGroups.add(getGroupDN()))
    {
      return false;
    }
    Entry entry = DirectoryConfig.getEntry(userDN);
    if (entry == null)
    {
@@ -319,9 +324,14 @@
   * {@inheritDoc}
   */
  @Override()
  public boolean isMember(Entry userEntry)
  public boolean isMember(Entry userEntry, Set<DN> examinedGroups)
         throws DirectoryException
  {
    if (! examinedGroups.add(getGroupDN()))
    {
      return false;
    }
    for (LDAPURL memberURL : memberURLs)
    {
      if (memberURL.matchesEntry(userEntry))