On 16/06/2016 12:53, Andy Wilkinson wrote: > On Thu, Jun 16, 2016 at 12:42 PM, Mark Thomas <ma...@apache.org> wrote: > >> What if Boot created a custom ID generator by extending >> StandardSessionIdGenerator and overriding startInternal() so it sets the >> state but doesn't call getSessionId() ? >> >> That should only be a few lines of code for the custom generator and a >> few lines more to set it on the Manager. >> > > That sounds like a good compromise. Despite the internal in its name, is > startInternal considered public API such that we can be reasonably sure > that its signature will be stable?
It isn't listed in the Release notes as one of the things we won't change but that method is defined in LifecycleBase which is extended by pretty much every Tomcat internal component that implements Lifecycle. It has been unchanged since it was introduced in the Lifecycle refactoring some 6+ years. So, while I can't guarantee the signature isn't going to change, I can say I am reasonably sure it won't change. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org