Java 2 Security (javaPermission)

Configuration of permissions for Java 2 Security.

NameTypeDefaultDescription

actions

string

The actions that the permission grant allows on the target name. For example, read in the case of a java.io.FilePermission.

className

string
Required

The name of the class implementing the permission being granted. For example, java.io.FilePermission.

codebase

string

The codebase that is being granted the permission.

id

string

A unique configuration ID.

name

string

The target for which the permission applies to. For example, ALL FILES in the case of a java.io.FilePermission.

principalName

string

The principal to whom the permission is being granted.

principalType

string

The class name that would be matched for the given Principal Name.

restriction

boolean

false

Declares whether the permission is being restricted versus granted. If restriction is set to "true" then this permission is denied as opposed to being granted.