// ACLTemplate impl tries to convert the property types if the don't
// match the required ones.
Privilege[] privs = privilegesFromName(Privilege.JCR_ALL);
Map restr = new HashMap();
restr.put(nodePath, new StringValue("/a/b/c/d"));
JackrabbitAccessControlEntry pe = createEntry(testPrincipal, privs, true, restr);
assertEquals("/a/b/c/d", pe.getRestriction(nodePath).getString());
assertEquals(PropertyType.PATH, pe.getRestriction(nodePath).getType());