119120121122123124125126127128
User user = null; if (request!=null){ user = (User) request.getSession().getAttribute(ParamsConst.USER); if (user==null){ // Se inactivo la session, lanzar excepcion throw new UserExpiredException(); } } } }