001 package groovy.security; 002 003 import java.security.BasicPermission; 004 005 /** 006 * Permission required to explicitly specify a codebase for a groovy script whose 007 * codebase cannot be determined. Typically this permission is only 008 * required by clients that want to associate a code source with a script which 009 * is a String or an InputStream. 010 * 011 * @author Steve Goetze 012 */ 013 public class GroovyCodeSourcePermission extends BasicPermission { 014 015 public GroovyCodeSourcePermission(String name) { 016 super(name); 017 } 018 019 public GroovyCodeSourcePermission(String name, String actions) { 020 super(name, actions); 021 } 022 }