Class PolicyParser.GrantEntry

java.lang.Object
net.adoptopenjdk.icedteaweb.client.policyeditor.PolicyParser.GrantEntry
Enclosing class:
PolicyParser

public static class PolicyParser.GrantEntry extends Object
Each grant entry in the policy configuration file is represented by a GrantEntry object.

For example, the entry

     grant signedBy "Duke" {
         permission java.io.FilePermission "/tmp", "read,write";
     };

is represented internally

pe = new PermissionEntry("java.io.FilePermission",
                          "/tmp", "read,write");

ge = new GrantEntry("Duke", null);

ge.add(pe);

Since:
1.2 Copy of OpenJDK 21 sun.security.provider.PolicyParser (removed in JDK 24), openjdk/jdk21u bb6b279495ceff8442dbd0225756b92d466d5309, minus property expansion and debug output.