BasicPrincipal principal = new BasicPrincipal("user", "password");
Authenticator authenticator = new TestAuthenticator(principal);
ORB orb = createORB(authenticator);
// set up the echo service
EchoService service = new EchoServiceImpl();
_service = orb.exportObject(service);
assertTrue(_service instanceof EchoService);
orb.getRegistry().bind(ECHO_SERVICE, _service);
// make sure a valid user can perform a lookup