aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/SecurityDesc.java
diff options
context:
space:
mode:
authorSaad Mohammad <[email protected]>2011-08-22 15:09:47 -0400
committerSaad Mohammad <[email protected]>2011-08-22 15:09:47 -0400
commitca57a77f66bbca5e2be1da83868ba0b5daab0ca3 (patch)
tree69fae35674d0d6c7059b2eea12685a3fffcb89a2 /netx/net/sourceforge/jnlp/SecurityDesc.java
parent3fdbc63fe69b247c9aaa49a322142a2085248095 (diff)
Checks and verifies a signed JNLP file at the launch of the application. A signed JNLP warning is displayed if appropriate.
Diffstat (limited to 'netx/net/sourceforge/jnlp/SecurityDesc.java')
-rw-r--r--netx/net/sourceforge/jnlp/SecurityDesc.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/netx/net/sourceforge/jnlp/SecurityDesc.java b/netx/net/sourceforge/jnlp/SecurityDesc.java
index f044237..abb61bd 100644
--- a/netx/net/sourceforge/jnlp/SecurityDesc.java
+++ b/netx/net/sourceforge/jnlp/SecurityDesc.java
@@ -244,5 +244,17 @@ public class SecurityDesc {
return permissions;
}
+
+ /**
+ * Returns all the names of the basic JNLP system properties accessible by RIAs
+ */
+ public static String[] getJnlpRIAPermissions() {
+ String[] jnlpPermissions = new String[jnlpRIAPermissions.length];
+
+ for (int i = 0; i < jnlpRIAPermissions.length; i++)
+ jnlpPermissions[i] = jnlpRIAPermissions[i].getName();
+
+ return jnlpPermissions;
+ }
}