ServiceFactory factory = new ServiceFactory(); factory.setSecurityServiceImpl(securityService); servlet.getServletContext().setAttribute("APP_SERVICE_FACTORY", factory);
this.securityService = securityService;