jdk/test/sun/security/provider/PolicyFile/SelfWildcard.policy
author lana
Thu, 10 Jun 2010 18:58:31 -0700
changeset 5753 e0ee3917e318
parent 2 90ce3da70b43
permissions -rw-r--r--
Merge


grant principal javax.security.auth.x500.X500Principal "CN=foo" {
  permission OnePermission "${{self}}";
};

grant principal javax.security.auth.x500.X500Principal "CN=foo",
    principal javax.security.auth.x500.X500Principal "CN=bar" {
  permission TwoPermission "${{self}}";
};

grant principal javax.security.auth.x500.X500Principal * {
  permission ThreePermission "${{self}}";
};

grant principal * * {
  permission FourPermission "${{self}}";
};

grant principal javax.security.auth.x500.X500Principal *,
    principal com.sun.security.auth.UnixPrincipal "foobar" {
  permission FivePermission "${{self}}";
};