gateway = lm.login(userName, passcode, this);
log("logging in...");
	public void login(String host) throws NotBoundException, RemoteException {		ILoginManager lm = null;				// localizza		try {			lm = (ILoginManager) LocateRegistry.getRegistry(host,					ILoginManager.PORT).lookup(ILoginManager.SERVICE_NAME);		} catch (NotBoundException e) {			log("LoginManager service not found at the address " +					host + ":" + ILoginManager.PORT);			throw e;		}				byte[] salt = lm.getSalt(userName);		byte[] passcode = Utilities.passwordToPasscode(password, salt);				log("salt: " + Utilities.reprByteArray(salt));		log("passcode: " + Utilities.reprByteArray(passcode));				gateway = lm.login(userName, passcode, this);				if (gateway != null) {			log(userName + " logged in.");		} else {			log(userName + " not logged in.");		}	}