Hi FYI I had the same need in my previous company and needed to extends multiple things to be able to extend the generate method. WOuld be great to have an interface just with nextId(jvmroute) method or something like that Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau
2014-02-14 14:15 GMT+01:00 Rainer Jung <rainer.j...@kippdata.de>: > I ran into a special requirement for the session id generator > (uniqueness of session id for a longer time interval). While I think > that the requirement needed isn't a useful general purpose extension, I > stumbled over the fact, that the SessionIdGenerator class is not pluggable. > > Would it make sense to introduce a new interface for the session Id > generation, probably including setJvmRoute(), setSessionIdLength() and > generateSessionId(), letting the current implementation be the base > implementation, probably switching getRandomBytes() to protected, and > allowing to set the implementation class in ManagerBase - or the Manager > interface (trunk)? > > I haven't worked it out in detail, but it looks easy to do and useful. > > WDYT? > > Regards, > > Rainer > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org