Class LoginConfigurationLeakPreventer

  • All Implemented Interfaces:
    LifeCycle

    public class LoginConfigurationLeakPreventer
    extends AbstractLeakPreventer
    LoginConfigurationLeakPreventer The javax.security.auth.login.Configuration class keeps a static reference to the thread context classloader. We prevent a webapp context classloader being used for that by invoking the classloading here. Inspired by Tomcat JreMemoryLeakPrevention