PHP 클래스 Neos\Flow\Security\Authorization\Interceptor\AfterInvocation

1. We call the AfterInvocationManager with the method's return value as parameter 2. If we had a "run as" support, we would have to reset the security context 3. If a PermissionDeniedException was thrown we look for any an authentication entry point in the active tokens to redirect to authentication 4. Then the value is returned to the caller
상속: implements Neos\Flow\Security\Authorization\InterceptorInterface
파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$afterInvocationManager Neos\Flow\Security\Authorization\AfterInvocationManagerInterface
$result mixed Result of the (probably intercepted) target method

공개 메소드들

메소드 설명
__construct ( Context $securityContext, Neos\Flow\Security\Authorization\AfterInvocationManagerInterface $afterInvocationManager ) Constructor.
invoke ( ) : boolean Invokes the security interception
setJoinPoint ( Neos\Flow\Aop\JoinPointInterface $joinPoint ) : void Sets the current joinpoint for this interception
setResult ( mixed $result ) : void Sets the result (return object) of the intercepted method

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Context $securityContext, Neos\Flow\Security\Authorization\AfterInvocationManagerInterface $afterInvocationManager )
$securityContext Neos\Flow\Security\Context The current security context
$afterInvocationManager Neos\Flow\Security\Authorization\AfterInvocationManagerInterface The after invocation manager

invoke() 공개 메소드

Invokes the security interception
public invoke ( ) : boolean
리턴 boolean TRUE if the security checks was passed

setJoinPoint() 공개 메소드

Sets the current joinpoint for this interception
public setJoinPoint ( Neos\Flow\Aop\JoinPointInterface $joinPoint ) : void
$joinPoint Neos\Flow\Aop\JoinPointInterface The current joinpoint
리턴 void

setResult() 공개 메소드

Sets the result (return object) of the intercepted method
public setResult ( mixed $result ) : void
$result mixed The result of the intercepted method
리턴 void

프로퍼티 상세

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

protected AfterInvocationManagerInterface,Neos\Flow\Security\Authorization $afterInvocationManager
리턴 Neos\Flow\Security\Authorization\AfterInvocationManagerInterface

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

Result of the (probably intercepted) target method
protected mixed $result
리턴 mixed