securityRoleRefMD.setRoleName(getContent(portletNav, Element.role_name));
if (portletNav.next(Element.role_link))
{
securityRoleRefMD.setRoleLink(portletNav.getContent());
}
portletMD.addSecurityRoleRef(securityRoleRefMD);
}
//
while (portletNav.next(Element.supported_processing_event) || portletNav.next(Element.supported_publishing_event))
{