1 package groovy.security;
2
3 import java.security.BasicPermission;
4
5 /***
6 * Permission required to explicitly specify a codebase for a groovy script whose
7 * codebase cannot be determined. Typically this permission is only
8 * required by clients that want to associate a code source with a script which
9 * 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 }