PHP Class Neos\Flow\Security\Authorization\FilterFirewall

Inheritance: implements Neos\Flow\Security\Authorization\FirewallInterface
ファイルを表示 Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$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

Public Methods

Method Description
__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

Protected Methods

Method Description
buildFiltersFromSettings ( array $filterSettings ) : void Sets the internal filters based on the given configuration.

Method Details

__construct() public method

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() public method

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
return void

buildFiltersFromSettings() protected method

Sets the internal filters based on the given configuration.
protected buildFiltersFromSettings ( array $filterSettings ) : void
$filterSettings array The filter settings
return void

injectSettings() public method

Injects the configuration settings
public injectSettings ( array $settings ) : void
$settings array
return void

Property Details

$filters protected_oe property

protected array $filters
return array

$interceptorResolver protected_oe property

protected InterceptorResolver,Neos\Flow\Security\Authorization $interceptorResolver
return InterceptorResolver

$objectManager protected_oe property

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager
return Neos\Flow\ObjectManagement\ObjectManagerInterface

$rejectAll protected_oe property

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
return boolean

$requestPatternResolver protected_oe property

protected RequestPatternResolver,Neos\Flow\Security $requestPatternResolver
return Neos\Flow\Security\RequestPatternResolver