Package groovy.security
Class GroovyCodeSourcePermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
groovy.security.GroovyCodeSourcePermission
- All Implemented Interfaces:
Serializable,Guard
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:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a permission with the supplied name.GroovyCodeSourcePermission(String name, String actions) Creates a permission with the supplied name and actions. -
Method Summary
Methods inherited from class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollectionMethods inherited from class java.security.Permission
checkGuard, getName, toString
-
Constructor Details
-
GroovyCodeSourcePermission
Creates a permission with the supplied name.- Parameters:
name- the permission name
-
GroovyCodeSourcePermission
Creates a permission with the supplied name and actions.- Parameters:
name- the permission nameactions- the associated actions
-