S
- the type of Session being handledpublic class PrincipalNameIndexResolver<S extends Session> extends SingleIndexResolver<S>
IndexResolver
to resolve the principal name from session attribute named
FindByIndexNameSessionRepository.PRINCIPAL_NAME_INDEX_NAME
or Spring Security
context stored in the session under SPRING_SECURITY_CONTEXT
attribute.Constructor and Description |
---|
PrincipalNameIndexResolver() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
resolveIndexValueFor(S session) |
getIndexName, resolveIndexesFor
public java.lang.String resolveIndexValueFor(S session)
resolveIndexValueFor
in class SingleIndexResolver<S extends Session>