code: public Long getSessionTimeout() {
          //  look in the login result...if it is success
          DefaultLoginResult loginResult;
          if ( loginContext != null && (loginResult = loginContext.getLoginResult()) != null) {
              Long sessionTimeout = loginResult.getSessionTimeout();
              if ( sessionTimeout != null && sessionTimeout > 0 ) {
                  return sessionTimeout;
              }
          }
          return null;
      }
docs: The period of time (in seconds) to wait after creating this session before closing the session.
  @return the period of time (in seconds) to wait after creating this session before closing the session.