Subject root = SubjectFactory.getSubject( Grouper.config("member.system"), Grouper.DEF_SUBJ_TYPE );
Subject root = null; try { root = SubjectFactory.getSubject( Grouper.config("member.system"), Grouper.DEF_SUBJ_TYPE ); } catch (SubjectNotFoundException e) {  e.printStackTrace(); }
  private void grantStemUponCreate() {    // We need a root session    Subject root = SubjectFactory.getSubject(                     Grouper.config("member.system"), Grouper.DEF_SUBJ_TYPE                   );    GrouperSession  rs  = GrouperSession.start(root);    // Subject that is creating group    GrouperMember   m   = GrouperMember.load(this.s.subject() );    boolean rv = rs.naming().grant(rs, this, m, Grouper.PRIV_STEM);    rs.stop();    if (!rv) {      throw new RuntimeException("Error granting STEM to " + m);      }   }