From 4fc9e364e40307b215a41579ab3daede0d47d95d Mon Sep 17 00:00:00 2001 From: rk Date: Fri, 15 Feb 2002 19:33:02 +0000 Subject: [PATCH] some notes, code is coming later --- source/Mir.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/Mir.java b/source/Mir.java index a09d7cd6..88ab04e5 100755 --- a/source/Mir.java +++ b/source/Mir.java @@ -64,6 +64,9 @@ public class Mir extends AbstractServlet setLanguage(session,getAcceptLanguage(req)); } + /** @todo for cleanup and readability this should be moved to + * method loginIfNecessary() */ + // Authentifizierung if (moduleName!=null && moduleName.equals("login")) { String user=req.getParameter("login"); @@ -151,6 +154,13 @@ public class Mir extends AbstractServlet } //From now on regular dispatching... + + /** @todo i do already have the code for a ServletModuleInstanceMap + * i will insert it soon. the code is 100times faster than doing + * a classForName-lookup with every execution. will be moved to + * getServletModuleForName //rk + */ + try { try { theServletModule = Class.forName("mircoders.servlet.ServletModule" + moduleName); -- 2.11.0