Subversion Repositories SmartDukaan

Rev

Rev 5148 | Rev 6360 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5148 Rev 5149
Line 46... Line 46...
46
		this.request = req;
46
		this.request = req;
47
		this.session = req.getSession();
47
		this.session = req.getSession();
48
	}
48
	}
49
	
49
	
50
	public String index() {
50
	public String index() {
51
//        if (!ReportsUtils.canAccessReport((Long) session.getAttribute(ReportsUtils.ROLE), request.getServletPath()))	{
51
        if (!ReportsUtils.canAccessReport((Long) session.getAttribute(ReportsUtils.ROLE), request.getServletPath()))	{
52
//            return "authfail";
52
            return "authfail";
53
//        }
53
        }
54
		try {
54
		try {
55
			PromotionClient promotionServiceClient = new PromotionClient();
55
			PromotionClient promotionServiceClient = new PromotionClient();
56
			promotionClient = promotionServiceClient.getClient();
56
			promotionClient = promotionServiceClient.getClient();
57
			
57
			
58
			UserClient userServiceClient = new UserClient();
58
			UserClient userServiceClient = new UserClient();