@PreAuthorize("hasRole('AUTH')")
 @RequestMapping(
     value = "/admin/configuration/saveConfiguration.html",
     method = RequestMethod.POST)
 public String saveConfigurations(
     @ModelAttribute("configuration") ConfigListWrapper configWrapper,
     BindingResult result,
     Model model,
     HttpServletRequest request,
     Locale locale)
     throws Exception {
   setConfigurationMenu(model, request);
   List<MerchantConfiguration> configs = configWrapper.getMerchantConfigs();
   MerchantStore store = (MerchantStore) request.getAttribute(Constants.ADMIN_STORE);
   for (MerchantConfiguration mConfigs : configs) {
     mConfigs.setMerchantStore(store);
     if (!StringUtils.isBlank(mConfigs.getValue())) {
       mConfigs.setMerchantConfigurationType(MerchantConfigurationType.CONFIG);
       merchantConfigurationService.saveOrUpdate(mConfigs);
     } else { // remove if submited blank and exists
       MerchantConfiguration config =
           merchantConfigurationService.getMerchantConfiguration(mConfigs.getKey(), store);
       if (config != null) {
         merchantConfigurationService.delete(config);
       }
     }
   }
   model.addAttribute("success", "success");
   model.addAttribute("configuration", configWrapper);
   return com.salesmanager.web.admin.controller.ControllerConstants.Tiles.Configuration.accounts;
 }