//Added by Pankaj T. on 07-01-2022 for removing vulnerability set httponly and secure flag for cookie - end
//Added By Pankaj T. on 28-09-2020 shown different messages, for the cases of session timeout, session terminated and no session available when accessing application - start
// UserInfoBean userInfo = null;
HttpSessionsessionObj=request.getSession(false);
//Added by trushant for setting case to differentiate login code [START]
BaseLogger.log("0",null,null,"SessionTimeoutFilter Exception in session getting invalid :["+E12GenericUtility.getStackTrace(e)+"]");
}
//Added By Pankaj T. on 28-09-2020 shown different messages, for the cases of session timeout, session terminated and no session available when accessing application - end
//Added By Pankaj T. on 28-09-2020 shown different messages, for the cases of session timeout, session terminated and no session available when accessing application - start
//Added By Pankaj T. on 28-09-2020 shown different messages, for the cases of session timeout, session terminated and no session available when accessing application - end
//Changed by Prasad on 14/02/19 [to authenticate request if network occurs in auto mode, if login happen without server call i.e. using local cache] START
//Changed by Prasad on 14/02/19 [to authenticate request if network occurs in auto mode, if login happen without server call i.e. using local cache] END
}
else
{
isSessionExpired=false;
//Request ID : W15BMIT003 - Set Current Geo Position in Login trace and USER_INFO.
//Changed by Sagar B. for Geo position related changes for multi tenancy on [11Jan18]
StringcurrentGeoPosName=E12GenericUtility.checkNull(request.getParameter("CURRENT_GEO_POS_NAME"));//Added by Sagar B. to track address of current geopos and store in table[10-Apr-18]
StringgeoPosAccuracy=E12GenericUtility.checkNull(request.getParameter("GEOPOS_ACCURACY"));//Added by Sagar B. to store accuracy of geo position[23-Jul-18]
//Added By Pankaj T. on 28-09-2020 shown different messages, for the cases of session timeout, session terminated and no session available when accessing application - start
if(sessionObj!=null)
{
sessionObj.setAttribute("USER_INFO",userInfo);
}
//Added By Pankaj T. on 28-09-2020 shown different messages, for the cases of session timeout, session terminated and no session available when accessing application - end
//formData = getErrorString("SESSION_EXPIRED", "E","Session has been expired !","You have not logged on or your session has been expired. \nPlease Re-connect to work on E12");
//Commented By Pankaj T. on 28-09-2020 shown different messages, for the cases of session timeout, session terminated and no session available when accessing application - end
//Changes by Prajyot P.Rumde on 25-FEB-2014[ In case of non-gwt servlet request set HTML page on response instead of redirecting to any jsp/html page.]
//Cpmmented By Pankaj T. on 28-09-2020 shown different messages, for the cases of session timeout, session terminated and no session available when accessing application - end
// Added By Arvind on 7-FEB-2014 : Implemented session time out for gwt component as well as for jsp END
//Added By Pankaj T. on 28-09-2020 shown different messages, for the cases of session timeout, session terminated and no session available when accessing application - start
//Added By Pankaj T. on 28-09-2020 shown different messages, for the cases of session timeout, session terminated and no session available when accessing application - end
//Added By Prajyot P. Rumde on 25-Feb-2014 [To prepare excludeUrlsPatterns from initParam] Ends
}
/*
--Sample query for message definition.
INSERT INTO MESSAGES (MSG_NO,MSG_STR,MSG_DESCR,MSG_TYPE,MSG_OPT,CHG_DATE,CHG_USER,CHG_TERM)
VALUES ('SESSIONEXP','Session has been expired !','You have not logged on or your session has been expired. \nPlease Re-connect to work on E12','E','Y',sysdate,'sys','sys');
*/
//Changes By Prajyot P. Rumde on 26-Sep-2014 [To make use of getErrorString method from ITMDBAccessEJB] Starts