Enum AppletPermissionLevel
java.lang.Object
java.lang.Enum<AppletPermissionLevel>
net.adoptopenjdk.icedteaweb.jnlp.element.security.AppletPermissionLevel
- All Implemented Interfaces:
Serializable, Comparable<AppletPermissionLevel>, java.lang.constant.Constable
Specifies the level of permissions that the applet needs to run. Specify "sandbox" for the
value to run in the sandbox. Specify "all-permissions" to run outside the sandbox.
Applet permissions are specified in the applet html page file as sub element
<param name="permissions" value="sandbox"/> of the applet tag.
If this parameter is omitted, default is assumed which is determined by
the Permissions attribute in the manifest for the main JAR file.
(see https://docs.oracle.com/javase/8/docs/technotes/guides/deploy/applet_dev_guide.html#JSDPG709).
or the
Permissions: sandbox attribute in the manifest for the main JAR file.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe all-permissions indicates that the RIA needs full access the the local system and network.Indicates that the level of permissions is determined by thePermissionsattribute in the manifest for the main JAR file.Deprecated.Indicates that the RIA runs in the security sandbox and does not require additional permissions. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue()static AppletPermissionLevelReturns the enum constant of this type with the specified name.static AppletPermissionLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ALL
The all-permissions indicates that the RIA needs full access the the local system and network. -
SANDBOX
Indicates that the RIA runs in the security sandbox and does not require additional permissions. -
DEFAULT
Indicates that the level of permissions is determined by thePermissionsattribute in the manifest for the main JAR file. -
NONE
Deprecated.Indicates that no applet permissions are specified.
-
-
Field Details
-
value
-
-
Constructor Details
-
AppletPermissionLevel
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
-