On 10.03.2014 16:08, Mark Thomas wrote: > On 10/03/2014 15:00, Rainer Jung wrote: >> Here's a patch: >> >> http://people.apache.org/~rjung/patches/TC8-SessionIdGenerator-extensible.patch >> >> Any concerns about applying to TC 8? Please note "Known problems". >> >> Some notes: >> >> About the patch: >> >> 1) New interface org.apache.catalina.SessionIdGenerator >> - setter and getter for jvmRoute >> - setter and getter for session id length >> - generateSessionId() (use jvmRoute if set) and >> generateSessionId(String route). >> 2) Renamed org.apache.catalina.util.SessionIdGenerator to >> org.apache.catalina.util.SessionIdGeneratorBase. >> Not strictly needed but for consistency with other similar cases. > > Is it consistent? I'd expect a class with a name that ends in Base to be > abstract rather than concrete. I'd expect the default implementation to > be named something like DefaultSessionIdGenerator. > > Other than that +1
As always you are completely right. Sorry. So either the "Default" or the "Standard" bike shed. We could also add a abstract base with everything except the two generateSessionId() methods, but that would seem a bit artificial to me. Regards, Rainer --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org