Dn parent = SchemaConstants.ouUserPermissionSets(username);
List<Entry> entries;
try {
entries = dao.getDirectChildren(parent);
} catch (MissingParentException e) {
throw new UserNotFoundException(username);
} catch (NoSuchNodeException e) {
throw new LdapRuntimeException(e);
}
TimebasedOrderFilter.sortById(entries);
return LdapUtils.extractAttributeEmptyCheck(entries, SchemaConstants.CN_ATTRIBUTE);