PHP Класс Neos\Flow\Security\Authorization\FilterFirewall

Наследование: implements Neos\Flow\Security\Authorization\FirewallInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$filters array
$interceptorResolver InterceptorResolver
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
$rejectAll boolean If set to TRUE the firewall will reject any request except the ones explicitly whitelisted by a \Neos\Flow\Security\Authorization\AccessGrantInterceptor
$requestPatternResolver Neos\Flow\Security\RequestPatternResolver

Открытые методы

Метод Описание
__construct ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager, RequestPatternResolver $requestPatternResolver, InterceptorResolver $interceptorResolver ) Constructor.
blockIllegalRequests ( ActionRequest $request ) : void Analyzes a request against the configured firewall rules and blocks any illegal request.
injectSettings ( array $settings ) : void Injects the configuration settings

Защищенные методы

Метод Описание
buildFiltersFromSettings ( array $filterSettings ) : void Sets the internal filters based on the given configuration.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager, RequestPatternResolver $requestPatternResolver, InterceptorResolver $interceptorResolver )
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface The object manager
$requestPatternResolver Neos\Flow\Security\RequestPatternResolver The request pattern resolver
$interceptorResolver InterceptorResolver The interceptor resolver

blockIllegalRequests() публичный Метод

Analyzes a request against the configured firewall rules and blocks any illegal request.
public blockIllegalRequests ( ActionRequest $request ) : void
$request Neos\Flow\Mvc\ActionRequest The request to be analyzed
Результат void

buildFiltersFromSettings() защищенный Метод

Sets the internal filters based on the given configuration.
protected buildFiltersFromSettings ( array $filterSettings ) : void
$filterSettings array The filter settings
Результат void

injectSettings() публичный Метод

Injects the configuration settings
public injectSettings ( array $settings ) : void
$settings array
Результат void

Описание свойств

$filters защищенное свойство

protected array $filters
Результат array

$interceptorResolver защищенное свойство

protected InterceptorResolver,Neos\Flow\Security\Authorization $interceptorResolver
Результат InterceptorResolver

$objectManager защищенное свойство

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager
Результат Neos\Flow\ObjectManagement\ObjectManagerInterface

$rejectAll защищенное свойство

If set to TRUE the firewall will reject any request except the ones explicitly whitelisted by a \Neos\Flow\Security\Authorization\AccessGrantInterceptor
protected bool $rejectAll
Результат boolean

$requestPatternResolver защищенное свойство

protected RequestPatternResolver,Neos\Flow\Security $requestPatternResolver
Результат Neos\Flow\Security\RequestPatternResolver