Subversion Repositories SmartDukaan

Rev

Rev 35943 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35943 Rev 37728
Line 52... Line 52...
52
				break;
52
				break;
53
			}
53
			}
54
		}
54
		}
55
		
55
		
56
		if(fofoIdFound == null || emailIdFound == null || roleIdsString == null){
56
		if(fofoIdFound == null || emailIdFound == null || roleIdsString == null){
-
 
57
			// DEBUG, not ERROR: an absent or incomplete cookie is an anonymous or logged-out
-
 
58
			// visitor, which is an ordinary outcome -- the caller turns it into a redirect or a
-
 
59
			// 403. The matching success path below already logs at DEBUG.
57
			LOGGER.error("Requested session is not valid");
60
			LOGGER.debug("Requested session is not valid");
58
			throw new ProfitMandiBusinessException("cookies", "", "GE_1008");
61
			throw new ProfitMandiBusinessException("cookies", "", "GE_1008");
59
		}else {
62
		}else {
60
			LoginDetails fofoDetails = new LoginDetails();
63
			LoginDetails fofoDetails = new LoginDetails();
61
			fofoDetails.setFofoId(Integer.parseInt(fofoIdFound));
64
			fofoDetails.setFofoId(Integer.parseInt(fofoIdFound));
62
			fofoDetails.setEmailId(emailIdFound);
65
			fofoDetails.setEmailId(emailIdFound);