summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Http/Firewall/BasicAuthenticationListener.php4
-rw-r--r--Http/Firewall/ChannelListener.php4
-rw-r--r--Http/Firewall/DigestAuthenticationListener.php2
3 files changed, 5 insertions, 5 deletions
diff --git a/Http/Firewall/BasicAuthenticationListener.php b/Http/Firewall/BasicAuthenticationListener.php
index efeb963..0551fff 100644
--- a/Http/Firewall/BasicAuthenticationListener.php
+++ b/Http/Firewall/BasicAuthenticationListener.php
@@ -85,9 +85,9 @@ class BasicAuthenticationListener implements ListenerInterface
return;
}
- $event->setProcessed();
+ $event->stopPropagation();
- return $this->authenticationEntryPoint->start($event, $request, $failed);
+ $event->setResponse($this->authenticationEntryPoint->start($request, $failed));
}
}
}
diff --git a/Http/Firewall/ChannelListener.php b/Http/Firewall/ChannelListener.php
index 64176e1..1677a02 100644
--- a/Http/Firewall/ChannelListener.php
+++ b/Http/Firewall/ChannelListener.php
@@ -52,7 +52,7 @@ class ChannelListener implements ListenerInterface
$this->logger->debug('Redirecting to HTTPS');
}
- $response = $this->authenticationEntryPoint->start($event, $request);
+ $response = $this->authenticationEntryPoint->start($request);
$event->setResponse($response);
@@ -64,7 +64,7 @@ class ChannelListener implements ListenerInterface
$this->logger->debug('Redirecting to HTTP');
}
- $response = $this->authenticationEntryPoint->start($event, $request);
+ $response = $this->authenticationEntryPoint->start($request);
$event->setResponse($response);
}
diff --git a/Http/Firewall/DigestAuthenticationListener.php b/Http/Firewall/DigestAuthenticationListener.php
index f550c07..867899e 100644
--- a/Http/Firewall/DigestAuthenticationListener.php
+++ b/Http/Firewall/DigestAuthenticationListener.php
@@ -129,7 +129,7 @@ class DigestAuthenticationListener implements ListenerInterface
$this->logger->debug($authException);
}
- $this->authenticationEntryPoint->start($event, $request, $authException);
+ $event->setResponse($this->authenticationEntryPoint->start($request, $authException));
}
}