+// Object principal = ud.getProperties().get(Context.SECURITY_PRINCIPAL);
+// if (principal != null) {
+// try {
+// LdapName principalLdapName = new LdapName(principal.toString());
+// if (principalLdapName.equals(name))
+// res.add(ud);
+// } catch (InvalidNameException e) {
+// // silent
+// }
+// }