I have Spring Boot application that uses HandlerInterceptorAdapter to set the DB tenant before processing the request. I set this info in a InheritableThreadLocal field. The