securityHandler.addSecurityDomain(jbossWeb, dep);
// Get the context root for this deployment
String contextRoot = dep.getService().getContextRoot();
if (contextRoot == null)
throw new WSFDeploymentException("Cannot obtain context root");
jbossWeb.addElement("context-root").addText(contextRoot);
return document;
}