diff options
author | Johannes M. Schmitt <schmittjoh@gmail.com> | 2011-03-13 19:40:12 +0100 |
---|---|---|
committer | Johannes M. Schmitt <schmittjoh@gmail.com> | 2011-03-13 19:40:12 +0100 |
commit | 899cc6c09dae9d133bc49af89ba73d74361e8517 (patch) | |
tree | 3725891210f6086aa42d5a29063482a74bdcb0b4 | |
parent | 5a06947e48c33dc57e21e4316c8b7c6e8f5827b0 (diff) | |
download | symfony-security-899cc6c09dae9d133bc49af89ba73d74361e8517.zip symfony-security-899cc6c09dae9d133bc49af89ba73d74361e8517.tar.gz symfony-security-899cc6c09dae9d133bc49af89ba73d74361e8517.tar.bz2 |
[Security] added some finals, some visibility changes
-rw-r--r-- | Http/Firewall/AbstractAuthenticationListener.php | 2 | ||||
-rw-r--r-- | Http/Firewall/AbstractPreAuthenticatedListener.php | 2 | ||||
-rw-r--r-- | Http/Firewall/X509AuthenticationListener.php | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Http/Firewall/AbstractAuthenticationListener.php b/Http/Firewall/AbstractAuthenticationListener.php index 2108980..14ae36f 100644 --- a/Http/Firewall/AbstractAuthenticationListener.php +++ b/Http/Firewall/AbstractAuthenticationListener.php @@ -107,7 +107,7 @@ abstract class AbstractAuthenticationListener implements ListenerInterface * * @param Event $event An Event instance */ - public function handle(EventInterface $event) + public final function handle(EventInterface $event) { $request = $event->get('request'); diff --git a/Http/Firewall/AbstractPreAuthenticatedListener.php b/Http/Firewall/AbstractPreAuthenticatedListener.php index 72808f5..bba0466 100644 --- a/Http/Firewall/AbstractPreAuthenticatedListener.php +++ b/Http/Firewall/AbstractPreAuthenticatedListener.php @@ -50,7 +50,7 @@ abstract class AbstractPreAuthenticatedListener implements ListenerInterface * * @param EventInterface $event An EventInterface instance */ - public function handle(EventInterface $event) + public final function handle(EventInterface $event) { $request = $event->get('request'); diff --git a/Http/Firewall/X509AuthenticationListener.php b/Http/Firewall/X509AuthenticationListener.php index 22b62dc..54e3d3f 100644 --- a/Http/Firewall/X509AuthenticationListener.php +++ b/Http/Firewall/X509AuthenticationListener.php @@ -25,8 +25,8 @@ use Symfony\Component\Security\Core\Exception\BadCredentialsException; */ class X509AuthenticationListener extends AbstractPreAuthenticatedListener { - protected $userKey; - protected $credentialKey; + private $userKey; + private $credentialKey; public function __construct(SecurityContextInterface $securityContext, AuthenticationManagerInterface $authenticationManager, $providerKey, $userKey = 'SSL_CLIENT_S_DN_Email', $credentialKey = 'SSL_CLIENT_S_DN', LoggerInterface $logger = null, EventDispatcherInterface $eventDispatcher = null) { |