diff --git a/uPortal-events/src/main/java/org/apereo/portal/utils/cache/PersonDirectoryCacheKeyGenerator.java b/uPortal-events/src/main/java/org/apereo/portal/utils/cache/PersonDirectoryCacheKeyGenerator.java index 9c80b44e9dc..6ac71bc8d51 100644 --- a/uPortal-events/src/main/java/org/apereo/portal/utils/cache/PersonDirectoryCacheKeyGenerator.java +++ b/uPortal-events/src/main/java/org/apereo/portal/utils/cache/PersonDirectoryCacheKeyGenerator.java @@ -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: { @@ -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");