KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > groovy > security > GroovyCodeSourcePermission


1 package groovy.security;
2
3 import java.security.BasicPermission JavaDoc;
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 JavaDoc {
14
15     public GroovyCodeSourcePermission(String JavaDoc name) {
16         super(name);
17     }
18
19     public GroovyCodeSourcePermission(String JavaDoc name, String JavaDoc actions) {
20         super(name, actions);
21     }
22 }
23
Popular Tags