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

Andrew Su asu at redhat.com
Fri Jul 8 09:12:28 PDT 2011



----- Original Message -----
> From: "Andrew Su" <asu at redhat.com>
> To: "distro-pkg-dev" <distro-pkg-dev at openjdk.java.net>
> Sent: Wednesday, June 29, 2011 11:41:18 AM
> Subject: Re: [RFC][Icedtea-web]: Add code for handling policy files.
--snip--
> 
> Hello,
> 
> I've updated the patch again with a more complete documentation. Also
> moved a method to another file, updated some validation code.
> 

Ping.

2011-07-08  Andrew Su  <asu at redhat.com>

        * netx/net/sourceforge/jnlp/util/FileUtils.java:
        (writeContentToFile): New method. Writes string content to file.
        (readContentFromFile): New method. Reads a file and returns a String.
        * netx/net/sourceforge/jnlp/policy/ParseException.java: New class.
        * netx/net/sourceforge/jnlp/policy/Policy.java: New class. Used to
        represent a policy from a policy file.
        * netx/net/sourceforge/jnlp/policy/PolicyFormatter.java: New class.
        Formats Policy to a string representation of a policy file or parses a
        File/String to convert into Policy objects.
        * netx/net/sourceforge/jnlp/policy/PolicyUtils.java: New class.
        Methods for handling repetitive tasks when working with policy files.
        * netx/net/sourceforge/jnlp/policy/permission/Permission.java: New
        class. This represents a general permission.
        * netx/net/sourceforge/jnlp/policy/permission/AWTPermission.java
        * netx/net/sourceforge/jnlp/policy/permission/AllPermission.java
        * netx/net/sourceforge/jnlp/policy/permission/AudioPermission.java
        * netx/net/sourceforge/jnlp/policy/permission/AuthPermission.java
        * netx/net/sourceforge/jnlp/policy/permission/DelegationPermission.java
        * netx/net/sourceforge/jnlp/policy/permission/FilePermission.java
        * netx/net/sourceforge/jnlp/policy/permission/LoggingPermission.java
        * netx/net/sourceforge/jnlp/policy/permission/NetPermission.java
        * netx/net/sourceforge/jnlp/policy/permission/PrivateCredentialPermission.java
        * netx/net/sourceforge/jnlp/policy/permission/PropertyPermission.java
        * netx/net/sourceforge/jnlp/policy/permission/ReflectPermission.java
        * netx/net/sourceforge/jnlp/policy/permission/RuntimePermission.java
        * netx/net/sourceforge/jnlp/policy/permission/SQLPermission.java
        * netx/net/sourceforge/jnlp/policy/permission/SSLPermission.java
        * netx/net/sourceforge/jnlp/policy/permission/SecurityPermission.java
        * netx/net/sourceforge/jnlp/policy/permission/SerializablePermission.java
        * netx/net/sourceforge/jnlp/policy/permission/ServicePermission.java
        * netx/net/sourceforge/jnlp/policy/permission/SocketPermission.java:
        New classes. These are the default permission.
        * netx/net/sourceforge/jnlp/policy/principal/Principal.java: New
        class. This represents a general principal.
        * netx/net/sourceforge/jnlp/policy/principal/KerberosPrincipal.java
        * netx/net/sourceforge/jnlp/policy/principal/X500Principal.java:
        New classes. These are the default principals.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: finalPolicy.patch
Type: text/x-patch
Size: 118313 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110708/5dea46e1/finalPolicy.patch 


More information about the distro-pkg-dev mailing list