From 56e5874205f0f710a0bbb3771742be9c1473a78a Mon Sep 17 00:00:00 2001 From: Gravit Date: Wed, 26 Dec 2018 19:54:04 +0700 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=BD=D0=B8=D1=86=D0=B8=D0=B0=D0=BB?= =?UTF-8?q?=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D1=8F=20Reconfigurable=20=D0=BF?= =?UTF-8?q?=D1=80=D0=B8=20=D1=81=D1=82=D0=B0=D1=80=D1=82=D0=B5=20=D0=BB?= =?UTF-8?q?=D0=B0=D1=83=D0=BD=D1=87=D1=81=D0=B5=D1=80=D0=B2=D0=B5=D1=80?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ru/gravit/launchserver/LaunchServer.java | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java b/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java index d2d86ce7..5df0aede 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java @@ -394,6 +394,27 @@ public LaunchServer(Path dir) throws IOException, InvalidKeySpecException { } }); + if(config.permissionsHandler instanceof Reconfigurable) + reconfigurableManager.registerReconfigurable("permissionsHandler",(Reconfigurable) config.permissionsHandler); + if(config.authHandler instanceof Reconfigurable) + reconfigurableManager.registerReconfigurable("authHandler",(Reconfigurable) config.authHandler); + for(int i=0;i { + try { + mirrorManager.addMirror(s); + } catch (MalformedURLException e) { + e.printStackTrace(); + } + }); + // init modules modulesManager.initModules();