Class SecurityProviderLeakPreventer

  • All Implemented Interfaces:
    LifeCycle

    public class SecurityProviderLeakPreventer
    extends AbstractLeakPreventer
    SecurityProviderLeakPreventer Some security providers, such as sun.security.pkcs11.SunPKCS11 start a deamon thread, which will use the thread context classloader. Load them here to ensure the classloader is not a webapp classloader. Inspired by Tomcat JreMemoryLeakPrevention