POA securePOA = rootPOA.create_POA("SecurePOA", rootPOA.the_POAManager(), policies);
rootPOA.the_POAManager().activate();
// create object and write out IOR
securePOA.activate_object_with_id("SecureObject".getBytes(), this);
org.omg.CORBA.Object demo = securePOA.servant_to_reference(this);
PrintWriter pw = new PrintWriter(new FileWriter(args[0]));
pw.println(orb.object_to_string(demo));
pw.flush();
pw.close();
} catch (Exception e) {