PHP 클래스 Symfony\Component\Security\Http\Firewall\ExceptionListener

저자: Fabien Potencier ([email protected])
파일 보기 프로젝트 열기: pmjones/php-framework-benchmarks 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Symfony\Component\Security\Core\SecurityContextInterface $context, Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolverInterface $trustResolver, HttpUtils $httpUtils, Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface $authenticationEntryPoint = null, $errorPage = null, Symfony\Component\Security\Http\Authorization\AccessDeniedHandlerInterface $accessDeniedHandler = null, Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null )
onKernelException ( GetResponseForExceptionEvent $event ) Handles security related exceptions.
register ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher ) Registers a onKernelException listener to take care of security exceptions.

비공개 메소드들

메소드 설명
startAuthentication ( Request $request, Symfony\Component\Security\Core\Exception\AuthenticationException $authException )

메소드 상세

__construct() 공개 메소드

public __construct ( Symfony\Component\Security\Core\SecurityContextInterface $context, Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolverInterface $trustResolver, HttpUtils $httpUtils, Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface $authenticationEntryPoint = null, $errorPage = null, Symfony\Component\Security\Http\Authorization\AccessDeniedHandlerInterface $accessDeniedHandler = null, Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null )
$context Symfony\Component\Security\Core\SecurityContextInterface
$trustResolver Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolverInterface
$httpUtils Symfony\Component\Security\Http\HttpUtils
$authenticationEntryPoint Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface
$accessDeniedHandler Symfony\Component\Security\Http\Authorization\AccessDeniedHandlerInterface
$logger Symfony\Component\HttpKernel\Log\LoggerInterface

onKernelException() 공개 메소드

Handles security related exceptions.
public onKernelException ( GetResponseForExceptionEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent An GetResponseForExceptionEvent instance

register() 공개 메소드

Registers a onKernelException listener to take care of security exceptions.
public register ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface An EventDispatcherInterface instance