code: @Override
      protected List<IPersonAttributes> getPeopleForQuery(final String seedValue, final String queryUserName) {
          if (seedValue != null && seedValue.contains(IPersonAttributeDao.WILDCARD)) {
              final Pattern seedPattern = PatternHelper.compilePattern(seedValue);
  
              final List<IPersonAttributes> results = new LinkedList<>();
  
              for (final Map.Entry<String, Map<String, List<Object>>> attributesEntry : this.backingMap.entrySet()) {
                  final String attributesKey = attributesEntry.getKey();
                  final Matcher keyMatcher = seedPattern.matcher(attributesKey);
                  if (keyMatcher.matches()) {
                      final Map<String, List<Object>> attributes = attributesEntry.getValue();
                      if (attributes != null) {
                          final IPersonAttributes person = this.createPerson(null, queryUserName, attributes);
                          results.add(person);
                      }
                  }
              }
  
              if (results.size() == 0) {
                  return null;
              }
  
              return results;
          }
  
          final Map<String, List<Object>> attributes = this.backingMap.get(seedValue);
  
          if (attributes == null) {
              return null;
          }
  
          final IPersonAttributes person = this.createPerson(seedValue, queryUserName, attributes);
          final List list = new ArrayList();
          list.add(person);
  
          return list;
      }
docs: /* (non-Javadoc)
  @see org.jasig.services.persondir.support.AbstractQueryPersonAttributeDao#getPeopleForQuery(java.lang.Object, java.lang.String)