[RFC][Icedtea-web]: Add code for handling policy files.

Andrew Su asu at redhat.com
Fri Jun 24 07:21:50 PDT 2011


Attached is a patch which adds a new package net.sourceforge.jnlp.policy which provides classes for parsing and formatting policy files.

2011-06-24  Andrew Su  <asu at redhat.com>

        * netx/net/sourceforge/jnlp/policy/Policy.java: New class for storing
        information about a policy.
        * netx/net/sourceforge/jnlp/policy/PolicyFormatter.java: New class for
        formatting and parsing a policy file.
        * netx/net/sourceforge/jnlp/policy/PolicyPermission.java: New class
        for storing permissions for policies.
        * netx/net/sourceforge/jnlp/policy/PolicyPrincipal.java: New class for
        storing the principals for policies.

There will be a followup patch which makes use of this to add an interface to itweb-settings.

I will try to clarify any questions you may have about this patch.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: policy.patch
Type: text/x-patch
Size: 75144 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110624/74320b30/policy.patch 

More information about the distro-pkg-dev mailing list