public class GremlinGroovyScriptEngineFileSandboxTest extends AbstractGremlinTest
config, g, graph, graphProvider, name| Constructor and Description |
|---|
GremlinGroovyScriptEngineFileSandboxTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
destroy() |
void |
setup() |
void |
shouldEvalAsGroovyPropertiesWhenWhiteListed() |
void |
shouldEvalAsTheMethodIsWhiteListed() |
void |
shouldEvalOnGAsTheMethodIsWhiteListed() |
void |
shouldPreventMaliciousStuffWithFile() |
void |
shouldPreventMaliciousStuffWithSystemButAllowSomeMethodsOnSystem() |
afterLoadGraphWith, assertVertexEdgeCounts, beforeLoadGraphWith, convertToEdgeId, convertToEdgeId, convertToVertex, convertToVertexId, convertToVertexId, convertToVertexProperty, convertToVertexPropertyId, convertToVertexPropertyId, getAssertVertexEdgeCounts, printTraversalForm, tearDown, tryCommit, tryCommit, tryRandomCommit, tryRollback, validateException, verifyUniqueStepIdspublic GremlinGroovyScriptEngineFileSandboxTest()
public void setup()
throws Exception
setup in class AbstractGremlinTestExceptionpublic 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.