code: public void setAccessExpiresIn(String expiresIn) {
          if (expiresIn != null) {
              long expires = expiresIn.equals("0")
                      ? 0
                      : System.currentTimeMillis() + Long.parseLong(expiresIn) * 1000L;
              setAccessExpires(expires);
          }
      }
docs: Set the current session's duration (in seconds since Unix epoch), or "0"
  if session doesn't expire.
  
  @param expiresIn
  - duration in seconds (or 0 if the session doesn't expire)