code: public String getAccessURL() {
      if (mUsePublicURL) {
        LOG.trace("Using public URL: " + mAccess.getPublicURL());
        return mAccess.getPublicURL();
      }
      LOG.trace("Using internal URL: " + mAccess.getInternalURL());
      return mAccess.getInternalURL();
    }
docs: Get authenticated URL
  
  @return access URL, public or internal