GrouperSession s, Stem ns, Subject subj, Member m, Privilege p, Iterator iter
GrouperSession s, Subject subj, Member m, Privilege p, Iterator iter
  private Set _getPrivs(    GrouperSession s, Stem ns, Subject subj, Member m, Privilege p, Iterator iter  )    throws  SchemaException  {    Set privs = new LinkedHashSet();    while (iter.hasNext()) {      Membership  ms      = (Membership) iter.next();      ms.setSession(s);      Subject     owner   = subj;      boolean     revoke  = true;      try {        if (!SubjectHelper.eq(m.getSubject(), subj)) {          owner   = m.getSubject();          revoke  = false;        }      }      catch (SubjectNotFoundException eSNF) {        // bloody odd      }      try {        owner   = ms.getViaGroup().toSubject();        revoke  = false;      }      catch (GroupNotFoundException eGNF) {        // ignore      }      try {        privs.add(          new NamingPrivilege(            ms.getStem()  , subj              , owner,            p             , s.getNamingClass(), revoke          )        );      }      catch (StemNotFoundException eGNF) {        // this is also bloody odd      }    }    return privs;  } // private Set _get(s, g, subj, m, p, iter)