Subversion Repositories SmartDukaan

Rev

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

Rev 23506 Rev 23510
Line 49... Line 49...
49
			LOGGER.info("roleNameString is {}", roleNamesString);
49
			LOGGER.info("roleNameString is {}", roleNamesString);
50
			LOGGER.info("fofoIdFound is {}", fofoIdFound);
50
			LOGGER.info("fofoIdFound is {}", fofoIdFound);
51
			LOGGER.info("emailIdFound is {}", emailIdFound);
51
			LOGGER.info("emailIdFound is {}", emailIdFound);
52
			LOGGER.error("Requested session is not valid");
52
			LOGGER.error("Requested session is not valid");
53
			throw new ProfitMandiBusinessException("", "", "");
53
			throw new ProfitMandiBusinessException("", "", "");
54
		}else if(request.getRequestURI().startsWith("/cron")){
-
 
55
			LoginDetails fofoDetails = new LoginDetails();
-
 
56
			return fofoDetails;
-
 
57
		} else {
54
		}else {
58
			LoginDetails fofoDetails = new LoginDetails();
55
			LoginDetails fofoDetails = new LoginDetails();
59
			fofoDetails.setFofoId(Integer.parseInt(fofoIdFound));
56
			fofoDetails.setFofoId(Integer.parseInt(fofoIdFound));
60
			fofoDetails.setEmailId(emailIdFound);
57
			fofoDetails.setEmailId(emailIdFound);
61
			String[] roleNames = StringUtils.split(roleNamesString, ",");
58
			String[] roleNames = StringUtils.split(roleNamesString, ",");
62
			Set<RoleType> roleTypes = new HashSet<>();
59
			Set<RoleType> roleTypes = new HashSet<>();