code: public static BoxItem.Info getSharedItem(BoxAPIConnection api, String sharedLink, String password) {
          BoxAPIConnection newAPI = new SharedLinkAPIConnection(api, sharedLink, password);
          URL url = SHARED_ITEM_URL_TEMPLATE.build(newAPI.getBaseURL());
          BoxAPIRequest request = new BoxAPIRequest(newAPI, url, "GET");
          BoxJSONResponse response = (BoxJSONResponse) request.send();
          JsonObject json = JsonObject.readFrom(response.getJSON());
          return (BoxItem.Info) BoxResource.parseInfo(newAPI, json);
      }
docs: Gets an item that was shared with a password-protected shared link.
  @param  api        the API connection to be used by the shared item.
  @param  sharedLink the shared link to the item.
  @param  password   the password for the shared link.
  @return            info about the shared item.