| Line 397... |
Line 397... |
| 397 |
cookieFofoId.setPath(request.getContextPath());
|
397 |
cookieFofoId.setPath(request.getContextPath());
|
| 398 |
|
398 |
|
| 399 |
Cookie cookieEmailId = new Cookie(ProfitMandiConstants.EMAIL_ID, fofoDetails.getEmailId());
|
399 |
Cookie cookieEmailId = new Cookie(ProfitMandiConstants.EMAIL_ID, fofoDetails.getEmailId());
|
| 400 |
cookieEmailId.setDomain(request.getServerName());
|
400 |
cookieEmailId.setDomain(request.getServerName());
|
| 401 |
cookieEmailId.setPath(request.getContextPath());
|
401 |
cookieEmailId.setPath(request.getContextPath());
|
| - |
|
402 |
|
| - |
|
403 |
Cookie cookieReadOnly = new Cookie(ProfitMandiConstants.READONLY_KEY, fofoDetails.isReadOnly() + "");
|
| - |
|
404 |
cookieReadOnly.setDomain(request.getServerName());
|
| - |
|
405 |
cookieReadOnly.setPath(request.getContextPath());
|
| 402 |
|
406 |
|
| 403 |
response.addCookie(cookieFofoId);
|
407 |
response.addCookie(cookieFofoId);
|
| 404 |
response.addCookie(cookieEmailId);
|
408 |
response.addCookie(cookieEmailId);
|
| 405 |
response.addCookie(cookieRoleIds);
|
409 |
response.addCookie(cookieRoleIds);
|
| - |
|
410 |
response.addCookie(cookieReadOnly);
|
| 406 |
}
|
411 |
}
|
| 407 |
|
412 |
|
| 408 |
@RequestMapping(value = "/logout", method = RequestMethod.GET)
|
413 |
@RequestMapping(value = "/logout", method = RequestMethod.GET)
|
| 409 |
public String logout(HttpServletRequest request, @ModelAttribute("model") ModelMap model,
|
414 |
public String logout(HttpServletRequest request, @ModelAttribute("model") ModelMap model,
|
| 410 |
HttpServletResponse response) throws Exception {
|
415 |
HttpServletResponse response) throws Exception {
|