private function setSecurity(SimpleXMLElement $element)
    {
        $security = $element->addChild('security');

        $xml_roles = new CNabuXMLSiteMapRoleList($this->nb_data_object->getRoles());
        $xml_roles->build($security);
    }