DirContext adminCtx = getAdminContext();
DirContext adminCtx = getContextAsAdmin();
    public Name createGroup( String cn, String firstMemberDn ) throws NamingException    {        DirContext adminCtx = getAdminContext();        Attributes group = new BasicAttributes( "cn", cn, true );        Attribute objectClass = new BasicAttribute( "objectClass" );        group.put( objectClass );        objectClass.add( "top" );        objectClass.add( "groupOfUniqueNames" );        group.put( "uniqueMember", firstMemberDn );        adminCtx.createSubcontext( "cn="+cn+",ou=groups", group );        return new LdapName( "cn="+cn+",ou=groups,ou=system" );    }