jdk/test/sun/security/provider/PolicyFile/SelfWildcard.policy
changeset 2 90ce3da70b43
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jdk/test/sun/security/provider/PolicyFile/SelfWildcard.policy	Sat Dec 01 00:00:00 2007 +0000
@@ -0,0 +1,23 @@
+
+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}}";
+};
+