diff options
author | Christian Flothmann <christian.flothmann@xabbuh.de> | 2015-11-28 10:18:46 +0100 |
---|---|---|
committer | Christian Flothmann <christian.flothmann@xabbuh.de> | 2015-11-28 10:30:56 +0100 |
commit | d4ae640fd34a799439436bfd5ba5bf4b2a619929 (patch) | |
tree | dab291db740725e6c97024941ae2684c0c5db6bc /Http | |
parent | 7fb58694400f63e4f01e0bb9750c04d071524619 (diff) | |
download | symfony-security-d4ae640fd34a799439436bfd5ba5bf4b2a619929.zip symfony-security-d4ae640fd34a799439436bfd5ba5bf4b2a619929.tar.gz symfony-security-d4ae640fd34a799439436bfd5ba5bf4b2a619929.tar.bz2 |
[Security] remove deprecated HTTP digest auth key
Diffstat (limited to 'Http')
-rw-r--r-- | Http/EntryPoint/DigestAuthenticationEntryPoint.php | 10 | ||||
-rw-r--r-- | Http/Firewall/DigestAuthenticationListener.php | 2 |
2 files changed, 1 insertions, 11 deletions
diff --git a/Http/EntryPoint/DigestAuthenticationEntryPoint.php b/Http/EntryPoint/DigestAuthenticationEntryPoint.php index cdb98eb..9dfd592 100644 --- a/Http/EntryPoint/DigestAuthenticationEntryPoint.php +++ b/Http/EntryPoint/DigestAuthenticationEntryPoint.php @@ -65,16 +65,6 @@ class DigestAuthenticationEntryPoint implements AuthenticationEntryPointInterfac } /** - * @deprecated Since version 2.8, to be removed in 3.0. Use getSecret() instead. - */ - public function getKey() - { - @trigger_error(__method__.'() is deprecated since version 2.8 and will be removed in 3.0. Use getSecret() instead.', E_USER_DEPRECATED); - - return $this->getSecret(); - } - - /** * @return string */ public function getSecret() diff --git a/Http/Firewall/DigestAuthenticationListener.php b/Http/Firewall/DigestAuthenticationListener.php index 41e5d6d..ef723ea 100644 --- a/Http/Firewall/DigestAuthenticationListener.php +++ b/Http/Firewall/DigestAuthenticationListener.php @@ -78,7 +78,7 @@ class DigestAuthenticationListener implements ListenerInterface } try { - $digestAuth->validateAndDecode($this->authenticationEntryPoint->getKey(), $this->authenticationEntryPoint->getRealmName()); + $digestAuth->validateAndDecode($this->authenticationEntryPoint->getSecret(), $this->authenticationEntryPoint->getRealmName()); } catch (BadCredentialsException $e) { $this->fail($event, $request, $e); |