|
Hi list, I'm trying to pass to the new version of Magnolia (revision 6981) and I met the new Login system in the SecurityFilter code. It seems that the goal of that new version is to load in a Freemarker way the new "/mgnl-resourcecs/loginForm/login.html". Actually, before those updates, I was already able in my modified version of Magnolia to load such a Freemarker page.
ERROR info.magnolia.cms.security.SecurityFilter SecurityFilter.java(authenticate:185) 30.10.2006 16:35:19 exception while writing login template java.io.FileNotFoundException: Template /.magnolia/pages/login.html not found. at freemarker.template.Configuration.getTemplate(Configuration.java:488) at freemarker.template.Configuration.getTemplate(Configuration.java:451) So my question is : why didn't you just do the 3 simple steps ? Is there any special issue you know in order to call the FreeMarkerUtil.getDefaultConfiguration().getTemplate(loginUrl) then tmpl.process(...) inside the SecurityFilter ? Thanks, Anthony |
