SecurityConstraint target = app.addSecurityConstraint(src.userDataConstraint.transportGuarantee);
if (src.displayName != null)
{
for (DisplayNameType d : src.displayName)
{
DisplayName dname = target.addDisplayName(d.lang);
dname.setDisplayName(d.value);
}
}
if (src.portletCollection != null && src.portletCollection.portletName != null)
{
for (String pname : src.portletCollection.portletName)