You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by tv...@apache.org on 2009/11/24 04:06:38 UTC

svn commit: r883576 - /incubator/pivot/trunk/demos/xsl/demo.jnlp.xsl

Author: tvolkert
Date: Tue Nov 24 03:06:37 2009
New Revision: 883576

URL: http://svn.apache.org/viewvc?rev=883576&view=rev
Log:
Added security tag to signed JNLP demos

Modified:
    incubator/pivot/trunk/demos/xsl/demo.jnlp.xsl

Modified: incubator/pivot/trunk/demos/xsl/demo.jnlp.xsl
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/demos/xsl/demo.jnlp.xsl?rev=883576&r1=883575&r2=883576&view=diff
==============================================================================
--- incubator/pivot/trunk/demos/xsl/demo.jnlp.xsl (original)
+++ incubator/pivot/trunk/demos/xsl/demo.jnlp.xsl Tue Nov 24 03:06:37 2009
@@ -64,6 +64,12 @@
                 </shortcut>
             </information>
 
+            <xsl:if test="@signed='true'">
+                &lt;security&gt;
+                    &lt;all-permissions/&gt;
+                &lt;/security&gt;
+            </xml:if>
+
             &lt;resources&gt;
                 &lt;property name="jnlp.packEnabled" value="true"/&gt;
                 &lt;property name="sun.awt.noerasebackground" value="true"/&gt;