Symfony2 API
Class

Symfony\Component\Security\Http\Firewall\X509AuthenticationListener

class X509AuthenticationListener extends AbstractPreAuthenticatedListener

X509 authentication listener.

Methods

__construct(SecurityContextInterface $securityContext, AuthenticationManagerInterface $authenticationManager, $providerKey, $userKey = 'SSL_CLIENT_S_DN_Email', $credentialKey = 'SSL_CLIENT_S_DN', LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null)

handle(GetResponseEvent $event)

This interface must be implemented by firewall listeners.

from AbstractPreAuthenticatedListener

Details

at line 31
public __construct(SecurityContextInterface $securityContext, AuthenticationManagerInterface $authenticationManager, $providerKey, $userKey = 'SSL_CLIENT_S_DN_Email', $credentialKey = 'SSL_CLIENT_S_DN', LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null)

Parameters

SecurityContextInterface $securityContext
AuthenticationManagerInterface $authenticationManager
$providerKey
$userKey
$credentialKey
LoggerInterface $logger
EventDispatcherInterface $dispatcher

final public handle(GetResponseEvent $event)

This interface must be implemented by firewall listeners.

Parameters

GetResponseEvent $event A GetResponseEvent instance