ms.setSession(s); stems.add( ms.getStem() ); }  Member    all     = MemberFinder.findAllMember(); Iterator  iterAll = MembershipFinder.findMemberships( s, all, this._getField(priv) ).iterator(); while (iterAll.hasNext()) { Membership ms = (Membership) iterAll.next();
  public Set getStemsWhereSubjectHasPriv(    GrouperSession s, Subject subj, Privilege priv  )     throws  SchemaException  {    GrouperSession.validate(s);    Set stems = new LinkedHashSet();    try {      Member    m   = MemberFinder.findBySubject(s, subj);      Iterator iter = MembershipFinder.findMemberships(        s, m, this._getField(priv)      ).iterator();      while (iter.hasNext()) {        Membership ms = (Membership) iter.next();        ms.setSession(s);        stems.add( ms.getStem() );      }    }    catch (MemberNotFoundException eMNF) {      GrouperLog.error(LOG, s, ERR_MMNF + eMNF.getMessage());    }    catch (StemNotFoundException eSNF) {      GrouperLog.error(LOG, s, ERR_MSNF + eSNF.getMessage());    }    return stems;  } // public Set getStemsWhereSubjectHasPriv(s, subj, priv)