code: public String getUserResourceUri(final String path){
          if(StringUtils.isEmpty(path)) {
              throw new IllegalArgumentException("Path cannot be null");
          }
          return StringUtils.join(new String[] {getUserUri(), path}, "/");
      }
docs: Convenience method to return the resource URL with the users credentials, e.g.
  
  @param path the path.
  @return the joined path.