String msg = " granted " + p.getName() + " to " + SubjectHelper.getPretty(all);
  private void _grantOptionalPrivUponCreate(    GrouperSession orig, GrouperSession root, Object o, Privilege p, String opt  )     throws  Exception  {    GrouperConfig cfg = GrouperConfig.getInstance();    Subject       all = SubjectFinder.findAllSubject();    if (cfg.getProperty(opt).equals(GrouperConfig.BT)) {      StopWatch sw = new StopWatch();      sw.start();      String msg = " granted " + p.getName() + " to " + SubjectHelper.getPretty(all);      if      (o.getClass().equals(Group.class)) {        Group g = (Group) o;        PrivilegeResolver.getInstance().grantPriv(root, g, all, p);        sw.stop();        EL.groupGrantPriv(this.getSession(), g.getName(), all, p, sw);      }      else if (o.getClass().equals(Stem.class)) {        Stem ns = (Stem) o;        PrivilegeResolver.getInstance().grantPriv(root, ns, all, p);        sw.stop();        EL.stemGrantPriv(this.getSession(), ns.getName(), all, p, sw);      }    }  } // private void _grantOptionalPrivUponCreate(orig, root, o, p, opt)