| Line 58... |
Line 58... |
| 58 |
throw new ProfitMandiBusinessException("cookies", "", "GE_1008");
|
58 |
throw new ProfitMandiBusinessException("cookies", "", "GE_1008");
|
| 59 |
}else {
|
59 |
}else {
|
| 60 |
LoginDetails fofoDetails = new LoginDetails();
|
60 |
LoginDetails fofoDetails = new LoginDetails();
|
| 61 |
fofoDetails.setFofoId(Integer.parseInt(fofoIdFound));
|
61 |
fofoDetails.setFofoId(Integer.parseInt(fofoIdFound));
|
| 62 |
fofoDetails.setEmailId(emailIdFound);
|
62 |
fofoDetails.setEmailId(emailIdFound);
|
| 63 |
LOGGER.info("Session validated for - {}", fofoDetails);
|
63 |
LOGGER.debug("Session validated for - {}", fofoDetails);
|
| 64 |
String[] roleIdStrings = StringUtils.split(roleIdsString, "-");
|
64 |
String[] roleIdStrings = StringUtils.split(roleIdsString, "-");
|
| 65 |
if(roleIdStrings.length==1) {
|
65 |
if(roleIdStrings.length==1) {
|
| 66 |
roleIdStrings = StringUtils.split(roleIdsString, ",");
|
66 |
roleIdStrings = StringUtils.split(roleIdsString, ",");
|
| 67 |
}
|
67 |
}
|
| 68 |
Set<Integer> roleIds = new HashSet<>();
|
68 |
Set<Integer> roleIds = new HashSet<>();
|