GitHub user spmallette opened a pull request:
TINKERPOP-891 Refactored the sandboxing abstractions for Gremlin Server
Deprecated the `SandboxExtension` and replaced it with the `AbstractSandboxExtension`. Took existing implementations and had them extend from the new `AbstractSandboxExtension`. Added a new "useful" implementation called `FileSandboxExtension` which gets its white list configuration from a file. Updated appropriate docs and wrote a number of tests for the new `FileSandboxExtension`.
Both unit and integration tests pass. Also tested manually by configuring Gremlin Server to use the different sandboxes.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/incubator-tinkerpop
Alternatively you can review and apply these changes as the patch at:
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #179
Author: Stephen Mallette <email@example.com>
Refactored the sandboxing abstractions for Gremlin Server.
Deprecated the SandboxExtension and replaced it with the AbstractSandboxExtension. Took existing implementations and had them extend from the new AbstractSandboxExtension. Added a new "useful" implementation called FileSandboxExtension which gets its white list configuration from a file. Updated appropriate docs and wrote a number of tests for the new FileSandboxExtension.