summaryrefslogtreecommitdiffstats
path: root/Http
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2015-08-24 09:21:16 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2015-08-24 09:21:16 +0200
commit71e7f364d47b122b0b6f2acd66ff9439495aaef6 (patch)
tree6a6d0ecd5a85a42f600c60b96e403c14ee8f9c80 /Http
parentc63a0c6b5f1d05f1e57d8b29cf2c38b770fad5b3 (diff)
parent1ce741e1c146dfadc1b8abc2bbc7626ac682f363 (diff)
downloadsymfony-security-71e7f364d47b122b0b6f2acd66ff9439495aaef6.zip
symfony-security-71e7f364d47b122b0b6f2acd66ff9439495aaef6.tar.gz
symfony-security-71e7f364d47b122b0b6f2acd66ff9439495aaef6.tar.bz2
Merge branch '2.8'
* 2.8: fixes CS fixed CS [DependencyInjection] Add missing file headers fixed typo made Symfony compatible with both Twig 1.x and 2.x [FrameworkBundle] Fix precedence of xdebug.file_link_format
Diffstat (limited to 'Http')
-rw-r--r--Http/Authentication/AuthenticationUtils.php3
-rw-r--r--Http/Authentication/SimpleAuthenticationHandler.php2
-rw-r--r--Http/Firewall/DigestAuthenticationListener.php2
3 files changed, 4 insertions, 3 deletions
diff --git a/Http/Authentication/AuthenticationUtils.php b/Http/Authentication/AuthenticationUtils.php
index 317c8a0..4d5c71a 100644
--- a/Http/Authentication/AuthenticationUtils.php
+++ b/Http/Authentication/AuthenticationUtils.php
@@ -17,7 +17,7 @@ use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\Security\Core\Security;
/**
- * Extracts Security Errors from Request
+ * Extracts Security Errors from Request.
*
* @author Boris Vujicic <boris.vujicic@gmail.com>
*/
@@ -72,6 +72,7 @@ class AuthenticationUtils
/**
* @return Request
+ *
* @throws \LogicException
*/
private function getRequest()
diff --git a/Http/Authentication/SimpleAuthenticationHandler.php b/Http/Authentication/SimpleAuthenticationHandler.php
index 6a1311f..c5c43f2 100644
--- a/Http/Authentication/SimpleAuthenticationHandler.php
+++ b/Http/Authentication/SimpleAuthenticationHandler.php
@@ -19,7 +19,7 @@ use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Core\Authentication\SimpleAuthenticatorInterface;
/**
- * Class to proxy authentication success/failure handlers
+ * Class to proxy authentication success/failure handlers.
*
* Events are sent to the SimpleAuthenticatorInterface if it implements
* the right interface, otherwise (or if it fails to return a Response)
diff --git a/Http/Firewall/DigestAuthenticationListener.php b/Http/Firewall/DigestAuthenticationListener.php
index 9a6fbfe..15b71ef 100644
--- a/Http/Firewall/DigestAuthenticationListener.php
+++ b/Http/Firewall/DigestAuthenticationListener.php
@@ -101,7 +101,7 @@ class DigestAuthenticationListener implements ListenerInterface
if ($serverDigestMd5 !== $digestAuth->getResponse()) {
if (null !== $this->logger) {
- $this->logger->debug("Unexpected response from the DigestAuth received; is the header returning a clear text passwords?", array('expected' => $serverDigestMd5, 'received' => $digestAuth->getResponse()));
+ $this->logger->debug('Unexpected response from the DigestAuth received; is the header returning a clear text passwords?', array('expected' => $serverDigestMd5, 'received' => $digestAuth->getResponse()));
}
$this->fail($event, $request, new BadCredentialsException('Incorrect response'));