public class NamedStubPersonAttributeDao extends StubPersonAttributeDao
StubPersonAttributeDao that is able to identify itself
by populating the backing map with the received username. This allows for static attributes
to be merged with other DAOs via MergingPersonAttributeDaoImpl.
Without the unique identifier that is username, the merge would fail resulting in two distinct attribute sets
for the same principal in the ultimate attribute map.loggerWILDCARD, WILDCARD_PATTERN| Constructor and Description |
|---|
NamedStubPersonAttributeDao() |
NamedStubPersonAttributeDao(java.util.Map backingMap) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<IPersonAttributes> |
getPeopleWithMultivaluedAttributes(java.util.Map<java.lang.String,java.util.List<java.lang.Object>> query) |
getAvailableQueryAttributes, getBackingMap, getPerson, getPossibleUserAttributeNames, setBackingMapgetPeople, toMultivaluedSeedcompareTo, flattenResults, getMultivaluedUserAttributes, getMultivaluedUserAttributes, getOrder, getUserAttributes, getUserAttributes, setOrderpublic NamedStubPersonAttributeDao()
public NamedStubPersonAttributeDao(java.util.Map backingMap)
public final java.util.Set<IPersonAttributes> getPeopleWithMultivaluedAttributes(java.util.Map<java.lang.String,java.util.List<java.lang.Object>> query)
getPeopleWithMultivaluedAttributes in interface IPersonAttributeDaogetPeopleWithMultivaluedAttributes in class StubPersonAttributeDaoCopyright © 2005-2018. All Rights Reserved.