Skip to content

Commit

Permalink
*) adding a test if a seucrity manager is active
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3533 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
theli committed Mar 31, 2007
1 parent 210ede8 commit 75eb650
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/de/anomic/soap/httpdSoapHandler.java
Expand Up @@ -228,6 +228,10 @@ public httpdSoapHandler(serverSwitch theSwitchboard) throws Exception {

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();
Expand Down

0 comments on commit 75eb650

Please sign in to comment.