From db6262ca16c274f90b93caf254936c0bcf58eb2a Mon Sep 17 00:00:00 2001 From: Kris Wallsmith Date: Wed, 20 Apr 2011 12:09:30 -0700 Subject: [PATCH] moved security factory into DI namespace --- .../Security}/HttpBasicPreAuthenticatedFactory.php | 2 +- .../Security/HttpBasicPreAuthenticatedFactoryTest.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename {Security => DependencyInjection/Security}/HttpBasicPreAuthenticatedFactory.php (97%) rename Tests/{ => DependencyInjection}/Security/HttpBasicPreAuthenticatedFactoryTest.php (85%) diff --git a/Security/HttpBasicPreAuthenticatedFactory.php b/DependencyInjection/Security/HttpBasicPreAuthenticatedFactory.php similarity index 97% rename from Security/HttpBasicPreAuthenticatedFactory.php rename to DependencyInjection/Security/HttpBasicPreAuthenticatedFactory.php index d012c9b..f5068c2 100644 --- a/Security/HttpBasicPreAuthenticatedFactory.php +++ b/DependencyInjection/Security/HttpBasicPreAuthenticatedFactory.php @@ -1,6 +1,6 @@ getMock('Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface'); // Load "security.authentication.listener.basic_pre_auth.class" parameter from ldap.xml - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../../Resources/config')); + $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../../../Resources/config')); $loader->load('ldap.xml'); list($provider, $listenerId, $returnedDefaultEntryPoint) = $factory->create($container, rand(), array(), $userProvider, $defaultEntryPoint);