docs: public <T> T getSessionObject(Class<T> type, String name) {
  
          T value = (T) session.get(name);
          if (logger.isDebugEnabled()) {
              logger.debug("Recovering object [" + name + "] from  session with value [" + value + "]");
          }
          return value;
      }