Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Property

Type

Default Value

 

defaultAttribute

String

username

The attribute name to use for calls to IPerson IPersonAttributes getPerson(String). A query Map is generated for these calls using the defaultAttribute and the value passed in.

cachedPersonAttributesDao

IPersonAttributeDao

null

The IPersonAttributeDao to cache results from.

cacheKeyGenerator

CacheKeyGenerator

new AttributeBasedCacheKeyGenerator()

An implementation of the Spring-Modules Caching CacheKeyGenerator API to use to generate cache keys. The use of this interface also allows AOP based caching using the CacheKeyGenerator implementation directly.

userInfoCache

Map<Serializable, Set<IPerson>>Set<IPersonAttributes>>

null

The cache to store results in. Only the get, set and remove methods are used on the Map interface so most commonly a wrapper around a real caching interface is used.

cacheNullResults

boolean

false

If null results (meaning a child DAO could not complete the query) are returned should they be cached as well to avoid multiple 'failure' lookups.

...