From 049f114283ac9699b7b0f561f0fc87999f5aa081 Mon Sep 17 00:00:00 2001 From: Nail Date: Tue, 2 Jan 2024 21:03:17 +0100 Subject: [PATCH] IT WORKS --- Client.class | Bin 4068 -> 4072 bytes Client.java | 2 +- Server.class | Bin 2371 -> 2403 bytes Server.java | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Client.class b/Client.class index 2b61dc669be7fce72d07fd199fd23ab98f828d33..eb3221d51c2e500963caf01d7072b4c002013960 100644 GIT binary patch delta 191 zcmaDN|3ZGl78Y?s4WF#UvPAuy#JqI<;F6-uymV_%O`pjEtWukwu;g*_1u?KOa4|42 zY!ONjWbvLH%eSR|Hp4uI4Gc^S`+&lJ48lNC1E@rcL4rXWNa`>cFz7Sb0ZDfTLk3?4 zBZeFXV}=?A6NVlj-OpgkFp0s8VJd?;!)yi{ph=bt3mB{z)-hN!Y-X@!I07`yfPw8l gLl^@mJA)M%$+I&YWoO7{XDDE2XkcfUJb^z10NzI@j{pDw delta 145 zcmaDM|3rSn78XW>$>ywblciV%H$P>`}o7?>FL z0mb|ngn^_613QBjgD8VGgF1r_gD!(UgEfNzgA0QpgBODlLnebULnVU=Lnn~#VK8Or sXE0-!#9+=agTV%9k|o1j1}lcuKph(xY#ELKO*3F%`_B+Oxtc#00LTIzGynhq diff --git a/Client.java b/Client.java index 4966f46..3ed9b25 100644 --- a/Client.java +++ b/Client.java @@ -37,7 +37,7 @@ public static void main(String[] args) { authenticateButton.addActionListener(e -> { try { // Connect to the RMI server - Registry registry = LocateRegistry.getRegistry("localhost"); + Registry registry = LocateRegistry.getRegistry("localhost", 1099); AuthenticationService authService = (AuthenticationService) registry.lookup("AuthenticationService"); if (authService.authenticate(usernameField.getText(), passwordField.getText())) { diff --git a/Server.class b/Server.class index 704d5a558c6ecbb94d4279417f2117ece527ffa9..8bd2d437115096a7fd65da71c81daa509c59a0ee 100644 GIT binary patch delta 648 zcmYLFO-~bH5PshMW?37%q?DEx;ZUQ3Y1E4mz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