Java Reference
In-Depth Information
security Element
The security element defines the security level needed for the application. There are two empty
subelements of this element.
all-permissions Empty Subelement
When used with a trusted application (that is, signed and accepted by the user), this subele-
ment grants all the permissions to the client application.
j2ee-application-client-permissions Empty Subelement
When used with a trusted application (that is, signed and explicitly accepted by the user), this
subelement grants the permissions shown in Table B.2 to the client application.
B
T ABLE B.2 Permissions
Affected Permission String
Semantics
access system Clipboard
java.awt.AWTPermission
access event queue
java.awt.AWTPermission
show window without warning banner
java.awt.AWTPermission
exit JVM
java.lang.RuntimePermission
load library
java.lang.RuntimePermission
queue print job
java.lang.RuntimePermission
socket connection
java.net.Socket.Permission
read/write files
java.io.FilePermission
read properties
java.util.PropertyPermission
package Element
The package element maps Java packages to JAR files, which is useful only for lazily down-
loaded JARs. Using this, the JNLP Client knows where the needed classes are, and waits until
the right moment to download only the necessary files.
The package element can have three different attributes:
name :String that identifies a set of Java classes based on their package. This string
closely resembles the syntax of the import statement in Java, particularly the use of the
“.*” construct.
part : Specifies the classes in the name attribute.
recursive : Maximum heap size, a JVM parameter. It makes sense only for non-exact
part values; that is, that contain “.*” . It is an optional attribute.
Search WWH ::




Custom Search