private function getGroupsCollection()
{
if ($this->aclGroupCollection === null) {
try {
$this->aclGroupCollection = $this->getMongoClient()->selectCollection($this->params['databaseName'], 'accesscontrolgroup');
} catch (MongoException $e) {
throw new DatabaseException('Could not select collection', 500, $e);
}
}
return $this->aclGroupCollection;
}