@Test public void testGetAvailableQueryAttributes() { Set<String> attributes = impersonationStatusPersonAttributeDao.getAvailableQueryAttributes(); assertNotNull(attributes); String attribute = attributes.iterator().next(); assertEquals(attribute, "attrs"); }
@Override public Set<String> getAvailableQueryAttributes() { final IUsernameAttributeProvider usernameAttributeProvider = super.getUsernameAttributeProvider(); return Collections.singleton(usernameAttributeProvider.getUsernameAttribute()); }
ImpersonationStatusPersonAttributeDao extends AbstractDefaultAttributePersonAttributeDao { @Override public Set<String> getAvailableQueryAttributes() { final IUsernameAttributeProvider usernameAttributeProvider = super.getUsernameAttributeProvider(); return Collections.singleton(usernameAttributeProvider.getUsernameAttribute()); } }
ImpersonationStatusPersonAttributeDao extends AbstractDefaultAttributePersonAttributeDao { @Override public Set<String> getAvailableQueryAttributes() { final IUsernameAttributeProvider usernameAttributeProvider = super.getUsernameAttributeProvider(); return Collections.singleton(usernameAttributeProvider.getUsernameAttribute()); }  }
ImpersonationStatusPersonAttributeDao extends AbstractDefaultAttributePersonAttributeDao { @Override public Set<String> getAvailableQueryAttributes() { final IUsernameAttributeProvider usernameAttributeProvider = super.getUsernameAttributeProvider(); return Collections.singleton(usernameAttributeProvider.getUsernameAttribute()); }  @Override Set<String> getAvailableQueryAttributes(); @Override Set<IPersonAttributes> getPeopleWithMultivaluedAttributes(
            Map<String, List<Object>> query); @Override Set<String> getPossibleUserAttributeNames(); }
ImpersonationStatusPersonAttributeDao extends AbstractDefaultAttributePersonAttributeDao { @Override public Set<String> getAvailableQueryAttributes() { final IUsernameAttributeProvider usernameAttributeProvider = super.getUsernameAttributeProvider(); return Collections.singleton(usernameAttributeProvider.getUsernameAttribute()); }  @Override Set<String> getAvailableQueryAttributes(); @Override Set<IPersonAttributes> getPeopleWithMultivaluedAttributes(
            Map<String, List<Object>> query); @Override Set<String> getPossibleUserAttributeNames();  }