String result = manager.verifyTreaty("foobar" );
String result = manager.verifyTreaty(buf.toString());
    public static void main(String[] args)        throws Exception {        // read treaty file        /*FileInputStream fin = new FileInputStream("mytreaty.xml");        BufferedReader reader = new BufferedReader(new InputStreamReader(fin));        String line = null;        StringBuffer buf = new StringBuffer();        while ((line=reader.readLine()) != null) {            buf.append(line);        }        */        SecurityManager manager = new SecurityManagerImpl(new FakeDataSource());        String result = manager.verifyTreaty("foobar" /*buf.toString()*/);        Util.debug(result);    }