From: rk Date: Fri, 15 Feb 2002 19:33:02 +0000 (+0000) Subject: some notes, code is coming later X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=4fc9e364e40307b215a41579ab3daede0d47d95d;p=mir.git some notes, code is coming later --- 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);