diff --git a/voila-runtime-core/.classpath b/voila-runtime-core/.classpath index 44ec4b5d5da43b0822c292b3edb1a8af6e341174..37d94711a71dba03f451719664e5ba0781638037 100644 --- a/voila-runtime-core/.classpath +++ b/voila-runtime-core/.classpath @@ -1,33 +1,33 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-displaytag/.classpath b/voila-runtime-displaytag/.classpath index f26beace41ff9370ea21d7e281308d8b8e78e183..22f46d07f9c5bb8b08562b5b9d47985129ba5b6f 100644 --- a/voila-runtime-displaytag/.classpath +++ b/voila-runtime-displaytag/.classpath @@ -1,34 +1,34 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-dwrajax/.classpath b/voila-runtime-dwrajax/.classpath index 44ec4b5d5da43b0822c292b3edb1a8af6e341174..37d94711a71dba03f451719664e5ba0781638037 100644 --- a/voila-runtime-dwrajax/.classpath +++ b/voila-runtime-dwrajax/.classpath @@ -1,33 +1,33 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-hibernate-search/.classpath b/voila-runtime-hibernate-search/.classpath index 9311ec407f470f8e317d1c596f327ec971678ec3..76d8261ffefc27f1e125fcc967a17c940fc3356b 100644 --- a/voila-runtime-hibernate-search/.classpath +++ b/voila-runtime-hibernate-search/.classpath @@ -1,29 +1,29 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-hibernate-spatial/.classpath b/voila-runtime-hibernate-spatial/.classpath index 9311ec407f470f8e317d1c596f327ec971678ec3..76d8261ffefc27f1e125fcc967a17c940fc3356b 100644 --- a/voila-runtime-hibernate-spatial/.classpath +++ b/voila-runtime-hibernate-spatial/.classpath @@ -1,29 +1,29 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-hibernate/.classpath b/voila-runtime-hibernate/.classpath index d2ff93521854ccffee8af92eae9b43a28fe72206..e636903abc98bd0a6d4032cf684d5887e8445079 100644 --- a/voila-runtime-hibernate/.classpath +++ b/voila-runtime-hibernate/.classpath @@ -1,35 +1,35 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-jasper4/.classpath b/voila-runtime-jasper4/.classpath index debec51117d6b99bb07c1096667f65ad21fe4a14..1c26d514baad6664b1593bd2fac2b2194168ceab 100644 --- a/voila-runtime-jasper4/.classpath +++ b/voila-runtime-jasper4/.classpath @@ -1,34 +1,34 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-mail/.classpath b/voila-runtime-mail/.classpath index 44ec4b5d5da43b0822c292b3edb1a8af6e341174..37d94711a71dba03f451719664e5ba0781638037 100644 --- a/voila-runtime-mail/.classpath +++ b/voila-runtime-mail/.classpath @@ -1,33 +1,33 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-mq-jms/.classpath b/voila-runtime-mq-jms/.classpath index 01321e18e4e45b1b60fd7f4328c68005a9737d7e..687dea3b4579028b455f676471a5bf6f2271e7f6 100644 --- a/voila-runtime-mq-jms/.classpath +++ b/voila-runtime-mq-jms/.classpath @@ -1,35 +1,35 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-oawtemplate/.classpath b/voila-runtime-oawtemplate/.classpath index d31a016bf3cf67396dfc9b82a804aabe1bb7854d..c7a1187b35fb12186b9e4ee3277e19eb3691db56 100644 --- a/voila-runtime-oawtemplate/.classpath +++ b/voila-runtime-oawtemplate/.classpath @@ -1,34 +1,34 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-quartz/.classpath b/voila-runtime-quartz/.classpath index 9311ec407f470f8e317d1c596f327ec971678ec3..76d8261ffefc27f1e125fcc967a17c940fc3356b 100644 --- a/voila-runtime-quartz/.classpath +++ b/voila-runtime-quartz/.classpath @@ -1,29 +1,29 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-restws/.classpath b/voila-runtime-restws/.classpath index 44ec4b5d5da43b0822c292b3edb1a8af6e341174..37d94711a71dba03f451719664e5ba0781638037 100644 --- a/voila-runtime-restws/.classpath +++ b/voila-runtime-restws/.classpath @@ -1,33 +1,33 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-root/.classpath b/voila-runtime-root/.classpath index 517bf3234bd9fb40d3a0dd4588dc8dcd86373835..352036cec1e3f87f428dec05121d38a0d9a95f7d 100644 --- a/voila-runtime-root/.classpath +++ b/voila-runtime-root/.classpath @@ -1,10 +1,6 @@ - - - - - - - - - - + + + + + + diff --git a/voila-runtime-rtftemplate/.classpath b/voila-runtime-rtftemplate/.classpath index 44ec4b5d5da43b0822c292b3edb1a8af6e341174..37d94711a71dba03f451719664e5ba0781638037 100644 --- a/voila-runtime-rtftemplate/.classpath +++ b/voila-runtime-rtftemplate/.classpath @@ -1,33 +1,33 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-security/.classpath b/voila-runtime-security/.classpath index f26beace41ff9370ea21d7e281308d8b8e78e183..22f46d07f9c5bb8b08562b5b9d47985129ba5b6f 100644 --- a/voila-runtime-security/.classpath +++ b/voila-runtime-security/.classpath @@ -1,34 +1,34 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-springmvc/.classpath b/voila-runtime-springmvc/.classpath index debec51117d6b99bb07c1096667f65ad21fe4a14..1c26d514baad6664b1593bd2fac2b2194168ceab 100644 --- a/voila-runtime-springmvc/.classpath +++ b/voila-runtime-springmvc/.classpath @@ -1,34 +1,34 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-springmvc/src/main/java/it/mice/voila/runtime/springmvc/controller/ReloadSecurityController.java b/voila-runtime-springmvc/src/main/java/it/mice/voila/runtime/springmvc/controller/ReloadSecurityController.java index f45a8b95f7ce46c79a1a227a2a017f36615b56a0..f5726929fc3ac6251d60314ce27a29de5b6ba0f5 100644 --- a/voila-runtime-springmvc/src/main/java/it/mice/voila/runtime/springmvc/controller/ReloadSecurityController.java +++ b/voila-runtime-springmvc/src/main/java/it/mice/voila/runtime/springmvc/controller/ReloadSecurityController.java @@ -1,69 +1,73 @@ -package it.mice.voila.runtime.springmvc.controller; - -import it.mice.voila.runtime.security.AbstractFilterSecurityInterceptorPostProcessor; -import it.mice.voila.runtime.springmvc.form.LoginForm; -import it.mice.voila.runtime.springmvc.taglibs.MenuTag; -import it.mice.voila.runtime.springmvc.util.SpringMvcUtil; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Controller; -import org.springframework.ui.Model; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestMethod; - -/** - * Default spring mvc controller for the user login to spring security. - * The controller maps the default request to /login. Please extends this class to change its behaviour. - */ -@Controller -@RequestMapping("/manage/security/*") -public class ReloadSecurityController extends DefaultFormController { - /** - * Default logger. - */ - private static Log logger = LogFactory.getLog(ReloadSecurityController.class); - - @Autowired(required=false) - private AbstractFilterSecurityInterceptorPostProcessor filterSecurityInterceptorPostProcessor; - - public AbstractFilterSecurityInterceptorPostProcessor getFilterSecurityInterceptorPostProcessor() { - return filterSecurityInterceptorPostProcessor; - } - - public void setFilterSecurityInterceptorPostProcessor( - AbstractFilterSecurityInterceptorPostProcessor filterSecurityInterceptorPostProcessor) { - this.filterSecurityInterceptorPostProcessor = filterSecurityInterceptorPostProcessor; - } - - /** - * Default action activated when the security/refresh was activated by menu. - * @param model the current spring mvc model - * @return the next tiles view; normally the login page. - */ - @RequestMapping(method=RequestMethod.GET) - public String initAction(Model model) { - return finalizeModelAndView("refreshSecurityPage", model); - } - - /** - * Ricarica le informazioni sulla sicurezza dal db in memoria. - * @param model spring mvc model - * @return redirect to the refresh security page. - */ - @RequestMapping(method = RequestMethod.POST) - public String reloadSecurity(Model model) { - if (logger.isInfoEnabled()) { - logger.info("Reloading security configuration files from data base"); - } - getFilterSecurityInterceptorPostProcessor().reloadInformation(); - if (logger.isInfoEnabled()) { - logger.info("Reloading complete !"); - } - SpringMvcUtil.cleanupSessionAttrsStartingWith(MenuTag.SAVED_MENU_DEFINITION); - - addInfoMessage("message.securityReloadComplete"); - return redirectTo("initAction"); - } -} +package it.mice.voila.runtime.springmvc.controller; + +import it.mice.voila.runtime.security.AbstractFilterSecurityInterceptorPostProcessor; +import it.mice.voila.runtime.springmvc.form.LoginForm; +import it.mice.voila.runtime.springmvc.taglibs.MenuTag; +import it.mice.voila.runtime.springmvc.util.SpringMvcUtil; + +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.Model; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; + +/** + * Default spring mvc controller for the user login to spring security. + * The controller maps the default request to /login. Please extends this class to change its behaviour. + */ +@Controller +@RequestMapping("/manage/security") +public class ReloadSecurityController extends DefaultFormController { + private static final String INIT = "init"; + + private static final String PUBLISH = "/publish"; + + /** + * Default logger. + */ + private static Log logger = LogFactory.getLog(ReloadSecurityController.class); + + @Autowired(required=false) + private AbstractFilterSecurityInterceptorPostProcessor filterSecurityInterceptorPostProcessor; + + public AbstractFilterSecurityInterceptorPostProcessor getFilterSecurityInterceptorPostProcessor() { + return filterSecurityInterceptorPostProcessor; + } + + public void setFilterSecurityInterceptorPostProcessor( + AbstractFilterSecurityInterceptorPostProcessor filterSecurityInterceptorPostProcessor) { + this.filterSecurityInterceptorPostProcessor = filterSecurityInterceptorPostProcessor; + } + + /** + * Default action activated when the security/refresh was activated by menu. + * @param model the current spring mvc model + * @return the next tiles view; normally the login page. + */ + @RequestMapping(value = INIT, method=RequestMethod.GET) + public String initAction(Model model) { + return finalizeModelAndView("refreshSecurityPage", model); + } + + /** + * Ricarica le informazioni sulla sicurezza dal db in memoria. + * @param model spring mvc model + * @return redirect to the refresh security page. + */ + @RequestMapping(value = PUBLISH, method = RequestMethod.POST) + public String reloadSecurity(Model model) { + if (logger.isInfoEnabled()) { + logger.info("Reloading security configuration files from data base"); + } + getFilterSecurityInterceptorPostProcessor().reloadInformation(); + if (logger.isInfoEnabled()) { + logger.info("Reloading complete !"); + } + SpringMvcUtil.cleanupSessionAttrsStartingWith(MenuTag.SAVED_MENU_DEFINITION); + + addInfoMessage("message.securityReloadComplete"); + return redirectTo(INIT); + } +} diff --git a/voila-runtime-springtest/.classpath b/voila-runtime-springtest/.classpath index 9311ec407f470f8e317d1c596f327ec971678ec3..76d8261ffefc27f1e125fcc967a17c940fc3356b 100644 --- a/voila-runtime-springtest/.classpath +++ b/voila-runtime-springtest/.classpath @@ -1,29 +1,29 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-springws/.classpath b/voila-runtime-springws/.classpath index 44ec4b5d5da43b0822c292b3edb1a8af6e341174..37d94711a71dba03f451719664e5ba0781638037 100644 --- a/voila-runtime-springws/.classpath +++ b/voila-runtime-springws/.classpath @@ -1,33 +1,33 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-style-consip2008/.classpath b/voila-runtime-style-consip2008/.classpath index 15e6deb3f49f71ec06d92a7045b2b4fda7710f6b..d0215792a5d36ac67f1c6791c6e37159ec56eb18 100644 --- a/voila-runtime-style-consip2008/.classpath +++ b/voila-runtime-style-consip2008/.classpath @@ -1,33 +1,33 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-style-edstribute/.classpath b/voila-runtime-style-edstribute/.classpath index 15e6deb3f49f71ec06d92a7045b2b4fda7710f6b..d0215792a5d36ac67f1c6791c6e37159ec56eb18 100644 --- a/voila-runtime-style-edstribute/.classpath +++ b/voila-runtime-style-edstribute/.classpath @@ -1,33 +1,33 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-style-newage2014/.classpath b/voila-runtime-style-newage2014/.classpath index 15e6deb3f49f71ec06d92a7045b2b4fda7710f6b..d0215792a5d36ac67f1c6791c6e37159ec56eb18 100644 --- a/voila-runtime-style-newage2014/.classpath +++ b/voila-runtime-style-newage2014/.classpath @@ -1,33 +1,33 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-style-responsive-adminlte/.classpath b/voila-runtime-style-responsive-adminlte/.classpath index 15e6deb3f49f71ec06d92a7045b2b4fda7710f6b..d0215792a5d36ac67f1c6791c6e37159ec56eb18 100644 --- a/voila-runtime-style-responsive-adminlte/.classpath +++ b/voila-runtime-style-responsive-adminlte/.classpath @@ -1,33 +1,33 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-style-responsive/.classpath b/voila-runtime-style-responsive/.classpath index 15e6deb3f49f71ec06d92a7045b2b4fda7710f6b..d0215792a5d36ac67f1c6791c6e37159ec56eb18 100644 --- a/voila-runtime-style-responsive/.classpath +++ b/voila-runtime-style-responsive/.classpath @@ -1,33 +1,33 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-task-executor/.classpath b/voila-runtime-task-executor/.classpath index fc22f123c3355afd63fc943c3c9b2b80eb31d5c8..39f2825f3944b8d5cecb54cd611668eda5574e9a 100644 --- a/voila-runtime-task-executor/.classpath +++ b/voila-runtime-task-executor/.classpath @@ -1,28 +1,28 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-web-res-dojo/.classpath b/voila-runtime-web-res-dojo/.classpath index 15e6deb3f49f71ec06d92a7045b2b4fda7710f6b..d0215792a5d36ac67f1c6791c6e37159ec56eb18 100644 --- a/voila-runtime-web-res-dojo/.classpath +++ b/voila-runtime-web-res-dojo/.classpath @@ -1,33 +1,33 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-web-res-jquery/.classpath b/voila-runtime-web-res-jquery/.classpath index 5e418622328f8063fdd03c26881b6a6978474b21..a01750cf990a7d22671b5e3ba88a7a97db48d8c3 100644 --- a/voila-runtime-web-res-jquery/.classpath +++ b/voila-runtime-web-res-jquery/.classpath @@ -1,33 +1,33 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-web-res-mce/.classpath b/voila-runtime-web-res-mce/.classpath index 44ec4b5d5da43b0822c292b3edb1a8af6e341174..37d94711a71dba03f451719664e5ba0781638037 100644 --- a/voila-runtime-web-res-mce/.classpath +++ b/voila-runtime-web-res-mce/.classpath @@ -1,33 +1,33 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/voila-runtime-web/.classpath b/voila-runtime-web/.classpath index debec51117d6b99bb07c1096667f65ad21fe4a14..1c26d514baad6664b1593bd2fac2b2194168ceab 100644 --- a/voila-runtime-web/.classpath +++ b/voila-runtime-web/.classpath @@ -1,34 +1,34 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +