From 7fe236a44d555c7a57fbf6144fb053986d81e7be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20Ja=CC=88ger?= Date: Mon, 30 Apr 2012 16:39:18 +0200 Subject: [PATCH] [Security] Configure ports in RetryAuthenticationEntryPoint according to router settings Bug fix: yes Feature addition: no Backwards compatibility break: no Symfony2 tests pass: yes Currently the ports in RetryAuthenticationEntryPoint are fixed in the constructor call, there is no way to set them when you run your application on different ports. With this fix the ports are taken from the router configuration. --- .../SecurityBundle/Resources/config/security_listeners.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/SecurityBundle/Resources/config/security_listeners.xml b/src/Symfony/Bundle/SecurityBundle/Resources/config/security_listeners.xml index 430e419606..75ea2978cc 100644 --- a/src/Symfony/Bundle/SecurityBundle/Resources/config/security_listeners.xml +++ b/src/Symfony/Bundle/SecurityBundle/Resources/config/security_listeners.xml @@ -51,7 +51,10 @@ - + + %request_listener.http_port% + %request_listener.https_port% +