On 29/08/18 12:43, Arno Schäfer wrote:
> Hi all,
> we use our own Realm implementation in our webapps. If tomcat shuts down, we 
> have to do some clean up
> in this instance to speed up the shutdown.
> In our web application we do this in the ServletContextListener instance in 
> 'contextDestroyed(...)' method.
> What is the right place to do this in tomcat's Realm instance? Do I have to 
> implement some notification code
> or does it work over a RealmBase method?

Over-ride RealmBase.stopInternal() and don't forget to call
super.stopInternal() when you do.


To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to