SessionRepositoryFilterConfiguration.sessionRepositoryFilterRegistration
is a filter registration bean which means it's initialized very early. It injects a SessionRepositoryFilter
which is defined in SpringHttpSessionConfiguration
and itself injects a SessionRepository
. If a RedisSessionRepository
is being used, then full initialization of Redis
occurs.