Groovy example source code file (forbiddenCodeBase.gvy)
The Groovy forbiddenCodeBase.gvy source code
/* * Groovy script to be read as a file to test the file based codesource features of groovy security. * The file extension of .gvy is used to prevent this script from being treated as a groovy script by maven. */ new GroovyShell().evaluate("1+2", "forbiddenCodeBaseTest", "/groovy/security/forbiddenCodeBase");
Other Groovy examples (source code examples)
Here is a short list of links related to this Groovy forbiddenCodeBase.gvy source code file:
Copyright 1998-2011 Alvin Alexander, devdaily.com
All Rights Reserved.