spring-session-data-geode icon indicating copy to clipboard operation
spring-session-data-geode copied to clipboard

Leverage IndexResolver for principal name index

Open vpavic opened this issue 6 years ago • 1 comments

In Spring Session core we've recently introduced IndexResolver as strategy for resolving indexes. Common use case across all FindByIndexNameSessionRepository is principal name index.

See:

vpavic avatar Sep 27 '19 15:09 vpavic

What is the mapping returned by resolveIndexesFor(<T extends Session>) in the IndexResolver mean?

It is a String to String mapping but I am not sure I am following what the String key and String value are for exactly?

After reviewing the PrincipleNameIndexResolver, it appears to be a Session attribute name followed by the value for that attribute in a given Session.

jxblum avatar Sep 28 '19 01:09 jxblum