current.setTransportGuarantee(securityMetaData.getTransportGuarantee().name());
WebResourceCollectionsMetaData resources = securityMetaData.getResourceCollections();
for (WebResourceCollectionMetaData webResource : resources)
{
JSEResourceCollection currentResource = current.addWebResource(webResource.getName());
for (String currentPattern : webResource.getUrlPatterns())
{
currentResource.addPattern(currentPattern);
}
}
}
}
return unifiedsecurityMetaData;