Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) adding a test if a seucrity manager is active

theli75eb65028aa4
diff --git a/source/de/anomic/soap/httpdSoapHandler.java b/source/de/anomic/soap/httpdSoapHandler.java
index 3f1024188..f7380a0a0 100644
--- a/source/de/anomic/soap/httpdSoapHandler.java
+++ b/source/de/anomic/soap/httpdSoapHandler.java
@@ -228,6 +228,10 @@ public final class httpdSoapHandler extends httpdAbstractHandler implements http
private void deployDefaultServices() throws Exception {
try {
+ // testing if a security manager is active.
+ SecurityManager sm = System.getSecurityManager();
+ this.theLogger.logInfo("Security Manager is: " + ((sm==null)?"not ":"") + "active");
+
// create an Axis server
this.theLogger.logInfo("Init soap engine ...");
engine = new AxisServer();