Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leverage IndexResolver for principal name index #41

Open
vpavic opened this issue Sep 27, 2019 · 1 comment
Open

Leverage IndexResolver for principal name index #41

vpavic opened this issue Sep 27, 2019 · 1 comment

Comments

@vpavic
Copy link

vpavic commented Sep 27, 2019

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:

@jxblum
Copy link
Contributor

jxblum commented Sep 28, 2019

What is the mapping returned by resolveIndexesFor() 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants