SecurityUtil.removePolicy(ctxIds[0]);
ArrayList<EJBSecurityManager> list = EJBSecurityManager.getManagers(ctxIds[0], true);
if (list != null && list.size() > 0) {
for (int i = 0; i < list.size(); i++) {
EJBSecurityManager esm = list.get(i);
esm.destroy();
}
}
}else{
cleanPolicies(requestName);
}