/**
* Generates and sets the security object from the XML document.
*/
protected function generateSecurity()
{
$securitySystemNode = $this->xpath->query('/x:webspace/x:security/x:system');
if ($securitySystemNode->length > 0) {
$security = new Security();
$security->setSystem($securitySystemNode->item(0)->nodeValue);
$this->webspace->setSecurity($security);
}
}