< : Permissions>

Description

This class implements a security manager meant for useage by tasks that run inside the ant VM. An examples are the Java Task and JUnitTask. The basic functionality is that nothing (except for a base set of permissions) is allowed, unless the permission is granted either explicitly or implicitly. If an permission is granted this can be overruled by explicitly revoking the permission. It is not permissible to add permissions (either granted or revoked) while the Security Manager is active (after calling setSecurityManager() but before calling restoreSecurityManager()).

Parameters

Attribute Description Type Required?

Parameters accepted as nested elements

<grant>

Represents a permission.
Attribute Description Type Required
name Sets the name of the permission. String ?
actions Sets the actions. String ?

<revoke>

Represents a permission.
Attribute Description Type Required
name Sets the name of the permission. String ?
actions Sets the actions. String ?