Skip to content

Commit

Permalink
Added filter to getPeopleWithMultivaluedAttributes caching
Browse files Browse the repository at this point in the history
  • Loading branch information
Naenyn committed Sep 16, 2024
1 parent 0184f21 commit a66c60f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public Serializable generateKey(MethodInvocation methodInvocation) {
// Both methods that take a Map argument can just have the first argument returned
case PEOPLE_MAP:
case PEOPLE_MULTIVALUED_MAP:
case PEOPLE_MULTIVALUED_MAP_FILTER:
case MULTIVALUED_USER_ATTRIBUTES__MAP:
case USER_ATTRIBUTES__MAP:
{
Expand Down Expand Up @@ -250,6 +251,10 @@ public enum CachableMethod {
PERSON_STR("getPerson", String.class),
PEOPLE_MAP("getPeople", Map.class),
PEOPLE_MULTIVALUED_MAP("getPeopleWithMultivaluedAttributes", Map.class),
PEOPLE_MULTIVALUED_MAP_FILTER(
"getPeopleWithMultivaluedAttributes",
Map.class,
org.apereo.services.persondir.IPersonAttributeDaoFilter.class),
POSSIBLE_USER_ATTRIBUTE_NAMES("getPossibleUserAttributeNames"),
AVAILABLE_QUERY_ATTRIBUTES("getAvailableQueryAttributes");

Expand Down

0 comments on commit a66c60f

Please sign in to comment.