Deactivate IPA when unnecessary.
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / internal / kernel / Activator.java
index e5930303a076ade9b77a4301ceccd0e8f8699b43..2e524b9d503935fc3a1ca45b2fd055b4286a0b65 100644 (file)
@@ -69,7 +69,9 @@ public class Activator implements BundleActivator {
                if (System.getProperty(KernelConstants.JAAS_CONFIG_PROP) == null) {
                        String jaasConfig = KernelConstants.JAAS_CONFIG;
                        URL url = getClass().getClassLoader().getResource(jaasConfig);
-                       System.setProperty(KernelConstants.JAAS_CONFIG_PROP, url.toExternalForm());
+                       // System.setProperty(KernelConstants.JAAS_CONFIG_PROP,
+                       // url.toExternalForm());
+                       KernelUtils.setJaasConfiguration(url);
                }
                // explicitly load JAAS configuration
                Configuration.getConfiguration();