Skip to content

Conversation

@gcurtis
Copy link
Contributor

@gcurtis gcurtis commented Jul 13, 2015

Configured proxies aren't saved or restored with
BoxAPIConnection#save() or BoxAPIConnection#restore(String). This is
intentional because:

  1. We don't have a clean way of serializing the Proxy object to JSON.
  2. If the proxy has a password, it would be unsafe to persist it to the
    saved state string.

This change updates the javadocs so it's clear that proxy settings must
be manually reconfigured after restoring an API connection.

Fixes #143.

Configured proxies aren't saved or restored with
BoxAPIConnection#save() or BoxAPIConnection#restore(String). This is
intentional because:

1. We don't have a clean way of serializing the Proxy object to JSON.
2. If the proxy has a password, it would be unsafe to persist it to the
   saved state string.

This change updates the javadocs so it's clear that proxy settings must
be manually reconfigured after restoring an API connection.

Fixes box#143.
@boxcla
Copy link

boxcla commented Jul 13, 2015

Verified that @gcurtis has signed the CLA. Thanks for the pull request!

gcurtis added a commit that referenced this pull request Jul 13, 2015
Update docs around saving/restoring proxy settings
@gcurtis gcurtis merged commit aacfe0d into box:master Jul 13, 2015
@gcurtis gcurtis deleted the proxy-docs branch November 10, 2016 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants