ProtectionDomain pd = new ProtectionDomain(null, null, null, caller);
WebResourcePermission wrp = new WebResourcePermission("/protected/exact/get/roleA", "GET");
assertFalse("/protected/exact/get/roleA GET", p.implies(pd, wrp));
wrp = new WebResourcePermission("/protected/exact/get/roleA", "POST");
assertFalse("/protected/exact/get/roleA POST", p.implies(pd, wrp));
caller = new SimplePrincipal[]{new SimplePrincipal("RoleA")};
wrp = new WebResourcePermission("/protected/exact/get/roleA", "GET");
assertFalse("/protected/exact/get/roleA GET", p.implies(pd, wrp));
wrp = new WebResourcePermission("/protected/exact/get/roleA", "POST");