Class PrincipalNameIndexResolver<S extends Session>

java.lang.Object
org.springframework.session.SingleIndexResolver<S>
org.springframework.session.PrincipalNameIndexResolver<S>
Type Parameters:
S - the type of Session being handled
All Implemented Interfaces:
IndexResolver<S>

public 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.
Since:
2.2.0