Open
Description
Expected Behavior
It should be possible to extend or delegate to those implementations.
Current Behavior
SessionRepository
implementations are open for extension but cannot be extended, e.g. there is no way to overridecreateSession
orsave
methods.- This issue mentions that the
MongoSession
is an internal implementation detail of theMongoIndexedSessionRepository
implementation. That actually is not 100% true sinceMongoSession
is returned by the API. - The
AbstractMongoSessionConverter
is meant to be extended accordingly to its javadoc, but it is not possible since its abstract methods work withMongoSession
and that implementation is package-private - Since each implementation is part of the public API, it is strange that they are not public
Context