Class GroovyCodeSourcePermission

java.lang.Object
java.security.Permission
java.security.BasicPermission
groovy.security.GroovyCodeSourcePermission
All Implemented Interfaces:
Serializable, Guard

public final class GroovyCodeSourcePermission
extends BasicPermission
Permission required to explicitly specify a codebase for a groovy script whose codebase cannot be determined. Typically this permission is only required by clients that want to associate a code source with a script which is a String or an InputStream.
See Also:
Serialized Form
  • Constructor Details

    • GroovyCodeSourcePermission

      public GroovyCodeSourcePermission​(String name)
    • GroovyCodeSourcePermission

      public GroovyCodeSourcePermission​(String name, String actions)