java - Signed JNLP results in more security dialogs -
i have eclipse rcp application deployed via webstart. have not been signing our top level jnlp , result launching client results in following dialog yellow warning icons.
i found posting adding jnlp main jar jnlp-inf/application.jnlp. when main jar signed, jnlp "signed" , warnings on launch dialog changed informational.
however, when make change main jar , launch application, users prompted run application dialog shown above twice. jnlp file in top level application directory , in main jarjnlp-inf/application.jnlp file has:
<?xml version="1.0" encoding="utf-8"?> <jnlp spec="1.0+" codebase="http://local.mycompany.com/client" href="client.jnlp"> <information> <title>client</title> <vendor>mycompany</vendor> <description>client application</description> <shortcut> <desktop/> </shortcut> </information> <security> <all-permissions/> </security> <update check="always" policy="always"/> <resources> <jar href="plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar"/> <extension name="wrapper feature" href="features/com.mycompany.client.feature_0.7.0.jnlp" /> <property name="osgi.instance.area" value="@user.home"/> <property name="osgi.configuration.area" value="@none"/> <property name="osgi.configuration.cascaded" value="false"/> <property name="osgi.bundles" value="org.eclipse.equinox.event@2:start,org.eclipse.equinox.ds@2:start,org.eclipse.core.runtime@4:start,org.eclipse.equinox.common@2:start"/> <property name="eclipse.application" value="com.mycompany.client.application"/> <!-- valid log levels info, warning, error --> <property name="loglevel" value="error"/> <property name="logfile" value="client.log"/> </resources> <resources os="windows" arch="x86"> <j2se version="1.6+" /> </resources> <application-desc main-class="org.eclipse.equinox.launcher.webstartmain"> <argument>-nosplash</argument> </application-desc> </jnlp>
has else seen this? can please tell me i've done wrong.
i think prompted run application dialog twice because use extension: guess first dialog prompted asks run application, second - install extension. it's normal behavior.
Comments
Post a Comment