List of usage examples for javax.servlet.http HttpServletRequest getSession
public HttpSession getSession();
From source file:com.krawler.esp.handlers.AuthHandler.java
public static String getTimeZoneID(HttpServletRequest request) throws SessionExpiredException { String userId = NullCheckAndThrow(request.getSession().getAttribute("timezoneid"), SessionExpiredException.USERID_NULL); return userId; }
From source file:com.krawler.esp.handlers.AuthHandler.java
public static String getTimeZoneDifference(HttpServletRequest request) throws SessionExpiredException { String userId = NullCheckAndThrow(request.getSession().getAttribute("tzdiff"), SessionExpiredException.USERID_NULL); return userId; }
From source file:com.krawler.esp.handlers.AuthHandler.java
public static String getDateFormatID(HttpServletRequest request) throws SessionExpiredException { String userId = NullCheckAndThrow(request.getSession().getAttribute("dateformatid"), SessionExpiredException.USERID_NULL); return userId; }
From source file:com.krawler.esp.handlers.AuthHandler.java
public static String getDateFormat(HttpServletRequest request) throws SessionExpiredException { String userId = NullCheckAndThrow(request.getSession().getAttribute("dateformat"), SessionExpiredException.USERID_NULL); return userId; }
From source file:com.krawler.esp.handlers.AuthHandler.java
public static String getCurrencyID(HttpServletRequest request) throws SessionExpiredException { String userId = NullCheckAndThrow(request.getSession().getAttribute("currencyid"), SessionExpiredException.USERID_NULL); return userId; }
From source file:com.krawler.esp.handlers.AuthHandler.java
public static String getTZID(HttpServletRequest request) throws SessionExpiredException { String userId = NullCheckAndThrow(request.getSession().getAttribute("tzid"), SessionExpiredException.USERID_NULL); return userId; }
From source file:com.krawler.esp.handlers.AuthHandler.java
public static String getCmpSubscription(HttpServletRequest request) throws SessionExpiredException { String userId = NullCheckAndThrow(request.getSession().getAttribute("cmpsubscription"), SessionExpiredException.USERID_NULL); return userId; }
From source file:com.krawler.esp.handlers.AuthHandler.java
public static String getUserCallWith(HttpServletRequest request) throws SessionExpiredException { String callwith = NullCheckAndThrow(request.getSession().getAttribute("callwith"), SessionExpiredException.USERID_NULL); return callwith; }
From source file:com.krawler.esp.handlers.AuthHandler.java
public static String getUserName(HttpServletRequest request) throws SessionExpiredException { String userName = NullCheckAndThrow(request.getSession().getAttribute("username"), SessionExpiredException.USERNAME_NULL); return userName; }
From source file:com.krawler.esp.handlers.AuthHandler.java
public static String getCompanyName(HttpServletRequest request) throws SessionExpiredException { String userName = NullCheckAndThrow(request.getSession().getAttribute("company"), SessionExpiredException.USERNAME_NULL); return userName; }