Attributes phoneBook = new BasicAttributes( "ou", "phoneBook", true );
Attribute objectClass = new BasicAttribute( "objectClass" );
phoneBook.put( objectClass );
objectClass.add( "top" );
objectClass.add( "organizationalUnit" );
billydCtx.createSubcontext( "ou=phoneBook", phoneBook );
// now add a subentry that enables anyone to search below their own entries
createAccessControlSubentry( "anybodySearchTheirSubordinates", "{ " + "identificationTag \"searchAci\", " + "precedence 14, "
+ "authenticationLevel none, " + "itemOrUserFirst userFirst: { " + "userClasses { allUsers }, "
+ "userPermissions { { " + "protectedItems {entry, allUserAttributeTypesAndValues}, "