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, verifyUniqueStepIds
public GremlinGroovyScriptEngineFileSandboxTest()
public static void destroy()
public void shouldEvalAsTheMethodIsWhiteListed() throws Exception
Exception
public void shouldEvalAsGroovyPropertiesWhenWhiteListed() throws Exception
Exception
public void shouldPreventMaliciousStuffWithSystemButAllowSomeMethodsOnSystem() throws Exception
Exception
public void shouldPreventMaliciousStuffWithFile() throws Exception
Exception
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.