Now have usable getPropertiesWithValue method in repository hooked up to RealmService so it can be used to search principals.