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);