public class GremlinGroovyScriptEngineFileSandboxTest extends AbstractGremlinTest
config, g, graph, graphProvider, name| Constructor and Description |
|---|
GremlinGroovyScriptEngineFileSandboxTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
destroy() |
static void |
init() |
void |
shouldEvalAsGroovyPropertiesWhenWhiteListed() |
void |
shouldEvalAsTheMethodIsWhiteListed() |
void |
shouldEvalOnGAsTheMethodIsWhiteListed() |
void |
shouldPreventMaliciousStuffWithFile() |
void |
shouldPreventMaliciousStuffWithSystemButAllowSomeMethodsOnSystem() |
afterLoadGraphWith, assertVertexEdgeCounts, beforeLoadGraphWith, convertToEdgeId, convertToEdgeId, convertToVertex, convertToVertexId, convertToVertexId, convertToVertexProperty, convertToVertexPropertyId, convertToVertexPropertyId, printTraversalForm, setup, tearDown, tryCommit, tryCommit, tryRandomCommit, tryRollback, validateException, verifyUniqueStepIdspublic GremlinGroovyScriptEngineFileSandboxTest()
public static void destroy()
public void shouldEvalAsTheMethodIsWhiteListed()
throws Exception
Exceptionpublic void shouldEvalAsGroovyPropertiesWhenWhiteListed()
throws Exception
Exceptionpublic void shouldPreventMaliciousStuffWithSystemButAllowSomeMethodsOnSystem()
throws Exception
Exceptionpublic void shouldPreventMaliciousStuffWithFile()
throws Exception
ExceptionCopyright © 2013–2016 Apache Software Foundation. All rights reserved.