protected function buildPointcutFilters()
{
$this->filters = [];
/** @var PolicyService $policyService */
$policyService = $this->objectManager->get(PolicyService::class);
/** @var MethodPrivilegeInterface[] $methodPrivileges */
$methodPrivileges = $policyService->getAllPrivilegesByType(MethodPrivilegeInterface::class);
foreach ($methodPrivileges as $privilege) {
$this->filters[$privilege->getCacheEntryIdentifier()] = $privilege->getPointcutFilterComposite();
}
}