PHP 클래스 Neos\Flow\Security\Authorization\Privilege\Method\MethodPrivilegePointcutFilter

상속: implements Neos\Flow\Aop\Pointcut\PointcutFilterInterface
파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$filters Neos\Flow\Aop\Pointcut\PointcutFilterComposite[]
$methodPermissionCache Neos\Cache\Frontend\VariableFrontend
$methodPermissions array
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
$runtimeExpressionEvaluator Neos\Flow\Aop\Pointcut\RuntimeExpressionEvaluator

공개 메소드들

메소드 설명
getRuntimeEvaluationsDefinition ( ) : array Returns runtime evaluations for the pointcut.
hasRuntimeEvaluationsDefinition ( ) : boolean Returns TRUE if this filter holds runtime evaluations for a previously matched pointcut
initializeObject ( ) : void
injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void This object is created very early so we can't rely on AOP for the property injection
matches ( string $className, string $methodName, string $methodDeclaringClassName, mixed $pointcutQueryIdentifier ) : boolean Checks if the specified class and method matches against the filter, i.e. if there is a policy entry to intercept this method.
reduceTargetClassNames ( ClassNameIndex $classNameIndex ) : ClassNameIndex This method is used to optimize the matching process.
savePolicyCache ( ) : void Save the found matches to the cache.

보호된 메소드들

메소드 설명
buildPointcutFilters ( ) : boolean Builds the needed pointcut filters for matching the policy privileges

메소드 상세

buildPointcutFilters() 보호된 메소드

Builds the needed pointcut filters for matching the policy privileges
protected buildPointcutFilters ( ) : boolean
리턴 boolean

getRuntimeEvaluationsDefinition() 공개 메소드

Returns runtime evaluations for the pointcut.
public getRuntimeEvaluationsDefinition ( ) : array
리턴 array Runtime evaluations

hasRuntimeEvaluationsDefinition() 공개 메소드

Returns TRUE if this filter holds runtime evaluations for a previously matched pointcut
public hasRuntimeEvaluationsDefinition ( ) : boolean
리턴 boolean TRUE if this filter has runtime evaluations

initializeObject() 공개 메소드

public initializeObject ( ) : void
리턴 void

injectObjectManager() 공개 메소드

This object is created very early so we can't rely on AOP for the property injection
public injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
리턴 void

matches() 공개 메소드

This method also creates a cache entry for every method, to cache the associated roles and privileges.
public matches ( string $className, string $methodName, string $methodDeclaringClassName, mixed $pointcutQueryIdentifier ) : boolean
$className string Name of the class to check the name of
$methodName string Name of the method to check the name of
$methodDeclaringClassName string Name of the class the method was originally declared in
$pointcutQueryIdentifier mixed Some identifier for this query - must at least differ from a previous identifier. Used for circular reference detection.
리턴 boolean TRUE if the names match, otherwise FALSE

reduceTargetClassNames() 공개 메소드

This method is used to optimize the matching process.
public reduceTargetClassNames ( ClassNameIndex $classNameIndex ) : ClassNameIndex
$classNameIndex Neos\Flow\Aop\Builder\ClassNameIndex
리턴 Neos\Flow\Aop\Builder\ClassNameIndex

savePolicyCache() 공개 메소드

Save the found matches to the cache.
public savePolicyCache ( ) : void
리턴 void

프로퍼티 상세

$filters 보호되어 있는 프로퍼티

protected PointcutFilterComposite[],Neos\Flow\Aop\Pointcut $filters
리턴 Neos\Flow\Aop\Pointcut\PointcutFilterComposite[]

$methodPermissionCache 보호되어 있는 프로퍼티

protected VariableFrontend,Neos\Cache\Frontend $methodPermissionCache
리턴 Neos\Cache\Frontend\VariableFrontend

$methodPermissions 보호되어 있는 프로퍼티

protected array $methodPermissions
리턴 array

$objectManager 보호되어 있는 프로퍼티

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager
리턴 Neos\Flow\ObjectManagement\ObjectManagerInterface

$runtimeExpressionEvaluator 보호되어 있는 프로퍼티

protected RuntimeExpressionEvaluator,Neos\Flow\Aop\Pointcut $runtimeExpressionEvaluator
리턴 Neos\Flow\Aop\Pointcut\RuntimeExpressionEvaluator