WFSessionFactorycreateSession exception

I get the Error 25, “no security manager” exception while trying to create a session via

wfSession = WFSessionFactory.createSession( “192.168.101.145”,5001, “temp”,“temp”, true);

Detailed Error message:

com.wm.zeus.pd.pdclient.API.WFException: Error code = 25. no security manager at com.wm.zeus.pd.pdclient.API.WFSessionFactory.assertIfNoSecurityManage
r(WFSessionFactory.java:313)

Any idea what might have gone wrong?
Thanks,
kk