Reputation: 373
I am working on one java Swing Web Start application and need to test it online. But I think I need to fix some permission issues before deploying it on any server.
Can we make an exception for this application, because right now development is in progress so for my testing I am deploying it again and again?
So to avoid every time signing that jar. Can I make any exception in my browser/system? so that it can run with full permissions without any error.
Upvotes: 2
Views: 632
Reputation: 168825
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<jnlp codebase="http://searchengine.crazy-minds.com" href="launch.jnlp" spec="1.0+">
<information>
<title>LogSearchEngine</title>
<vendor>shilpi jain</vendor>
<homepage href=""/>
<description>LogSearchEngine</description>
<description kind="short">LogSearchEngine</description>
<offline-allowed/>
</information>
<update check="background"/>
<resources>
<j2se version="1.7+"/>
<jar href="LogSearchEngine.jar" main="true"/>
<jar href="lib/commons-logging-1.1.3.jar"/>
<jar href="lib/log4j-1.2.17.jar"/>
</resources>
<application-desc main-class="com.novigolabs.uiScreens.Homepage">
</application-desc>
</jnlp>
That should have a security element added.
<security>
<all-permissions />
</security>
After adding it, be sure to validate the JNLP as I recommended in your last question.
Upvotes: 1