01: package groovy.security;
02:
03: import java.security.BasicPermission;
04:
05: /**
06: * Permission required to explicitly specify a codebase for a groovy script whose
07: * codebase cannot be determined. Typically this permission is only
08: * required by clients that want to associate a code source with a script which
09: * is a String or an InputStream.
10: *
11: * @author Steve Goetze
12: */
13: public class GroovyCodeSourcePermission extends BasicPermission {
14:
15: public GroovyCodeSourcePermission(String name) {
16: super (name);
17: }
18:
19: public GroovyCodeSourcePermission(String name, String actions) {
20: super(name, actions);
21: }
22: }
|