Group g = (Group)WebSecurityManager.getAdminGroup(name, realm); if(g == null){ g = new Group(name); } return g;
Creates a new instance of PrincipalGroupFactory PrincipalImpl p = (PrincipalImpl)WebSecurityManager.getAdminPrincipal(name, realm) ; if(p == null){ p = new PrincipalImpl(name); } return p;
PrincipalImpl p = (PrincipalImpl)WebSecurityManager.getAdminPrincipal(name, realm) ; if(p == null){ p = new PrincipalImpl(name); } return p;