// creates security policy if needed
@Override
protected void generateArtifacts(DeploymentContext dc)
throws DeploymentException {
OpsParams params = dc.getCommandParameters(OpsParams.class);
if (params.origin != OpsParams.Origin.deploy) {
return;
}
String appName = params.name();
try {
Application app = dc.getModuleMetaData(Application.class);
Set<WebBundleDescriptor> webDesc = app.getWebBundleDescriptors();
if (webDesc == null) {