PHP 클래스 Neos\Flow\Security\Authorization\FilterFirewall

상속: implements Neos\Flow\Security\Authorization\FirewallInterface
파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$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