no.nav.sbl.dialogarena.test.ssl.CertificateCheckDisabler Maven / Gradle / Ivy
package no.nav.sbl.dialogarena.test.ssl;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
/*
Kan brukes til å disable SSL i riktig/nødvendig class-context for en webapp, altså for webappens classloader
*/
@SuppressWarnings("unused")
public class CertificateCheckDisabler implements ServletContextListener {
@Override
public void contextInitialized(ServletContextEvent sce) {
SSLTestUtils.disableCertificateChecks();
}
@Override
public void contextDestroyed(ServletContextEvent sce) {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy