PHP Class Symfony\Component\HttpKernel\Security\Firewall\DigestAuthenticationListener

Author: Fabien Potencier ([email protected])
ファイルを表示 Open project: pmjones/php-framework-benchmarks

Protected Properties

Property Type Description
$authenticationEntryPoint
$logger
$provider
$securityContext

Public Methods

Method Description
__construct ( Symfony\Component\Security\SecurityContext $securityContext, Symfony\Component\Security\User\UserProviderInterface $provider, Symfony\Component\HttpKernel\Security\EntryPoint\DigestAuthenticationEntryPoint $authenticationEntryPoint, Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null )
handle ( Symfony\Component\EventDispatcher\Event $event ) Handles digest authentication.
register ( EventDispatcher $dispatcher, integer $priority )

Protected Methods

Method Description
fail ( Request $request, Symfony\Component\Security\Exception\AuthenticationException $failed )

Method Details

__construct() public method

public __construct ( Symfony\Component\Security\SecurityContext $securityContext, Symfony\Component\Security\User\UserProviderInterface $provider, Symfony\Component\HttpKernel\Security\EntryPoint\DigestAuthenticationEntryPoint $authenticationEntryPoint, Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null )
$securityContext Symfony\Component\Security\SecurityContext
$provider Symfony\Component\Security\User\UserProviderInterface
$authenticationEntryPoint Symfony\Component\HttpKernel\Security\EntryPoint\DigestAuthenticationEntryPoint
$logger Symfony\Component\HttpKernel\Log\LoggerInterface

fail() protected method

protected fail ( Request $request, Symfony\Component\Security\Exception\AuthenticationException $failed )
$request Symfony\Component\HttpFoundation\Request
$failed Symfony\Component\Security\Exception\AuthenticationException

handle() public method

Handles digest authentication.
public handle ( Symfony\Component\EventDispatcher\Event $event )
$event Symfony\Component\EventDispatcher\Event An Event instance

register() public method

public register ( EventDispatcher $dispatcher, integer $priority )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcher An EventDispatcher instance
$priority integer The priority

Property Details

$authenticationEntryPoint protected_oe property

protected $authenticationEntryPoint

$logger protected_oe property

protected $logger

$provider protected_oe property

protected $provider

$securityContext protected_oe property

protected $securityContext