* to not use authentication.
* @throws Exception for any error
*/
private void checkExportObjectURI(BasicPrincipal principal)
throws Exception {
Authenticator authenticator = new TestAuthenticator(principal);
ORB orb = createORB(authenticator);
EchoServiceImpl impl = new EchoServiceImpl();
Proxy proxy = orb.exportObject(impl, getExportURI());
orb.getRegistry().bind("service", proxy);