[RFC][IcedTea-Web]: Change #4 (PersistenceService) of new JNLP specification (v7.0)

Saad Mohammad smohammad at redhat.com
Wed Jun 8 12:16:26 PDT 2011


Hi,

This is the patch that allows any trusted application to have access to 
any PersistenceService data (including ones from other hosts). It is 
part of the new JNLP specification, and is stated under change #4 
(http://jcp.org/aboutJava/communityprocess/maintenance/jsr056/jnlp-7_0-changes.html).

This patch is very simple, it uses a custom method [a modified version 
of ServiceUtil.checkAccess()] to validate whether the current 
application is trusted and has a signature. If the current application 
is  a trusted application, XPersistenceService.checkLocation() makes 
sure that the application has access to all Persistence Service data. If 
the current application is not a trusted application and it want to have 
access to PersistenceService data from an outside host, 
XPersistenceService.checkLocation() will throw MalformedURLException.

Cheers,
Saad Mohammad
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: change4.patch
Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110608/b438456b/change4.patch 


More information about the distro-pkg-dev mailing list