namespace changes

Symfony\Component\Security -> Symfony\Component\Security\Core
Symfony\Component\Security\Acl remains unchanged
Symfony\Component\HttpKernel\Security -> Symfony\Component\Security\Http
This commit is contained in:
Johannes M. Schmitt 2011-01-26 21:34:11 +01:00 committed by Fabien Potencier
parent e557500c97
commit cf64d2cfe7
152 changed files with 763 additions and 719 deletions

View File

@ -11,10 +11,10 @@
namespace Symfony\Bundle\DoctrineBundle\Security; namespace Symfony\Bundle\DoctrineBundle\Security;
use Symfony\Component\Security\User\AccountInterface; use Symfony\Component\Security\Core\User\AccountInterface;
use Symfony\Component\Security\User\UserProviderInterface; use Symfony\Component\Security\Core\User\UserProviderInterface;
use Symfony\Component\Security\Exception\UnsupportedAccountException; use Symfony\Component\Security\Core\Exception\UnsupportedAccountException;
use Symfony\Component\Security\Exception\UsernameNotFoundException; use Symfony\Component\Security\Core\Exception\UsernameNotFoundException;
class EntityUserProvider implements UserProviderInterface class EntityUserProvider implements UserProviderInterface
{ {

View File

@ -11,10 +11,10 @@
namespace Symfony\Bundle\DoctrineMongoDBBundle\Security; namespace Symfony\Bundle\DoctrineMongoDBBundle\Security;
use Symfony\Component\Security\User\AccountInterface; use Symfony\Component\Security\Core\User\AccountInterface;
use Symfony\Component\Security\User\UserProviderInterface; use Symfony\Component\Security\Core\User\UserProviderInterface;
use Symfony\Component\Security\Exception\UnsupportedAccountException; use Symfony\Component\Security\Core\Exception\UnsupportedAccountException;
use Symfony\Component\Security\Exception\UsernameNotFoundException; use Symfony\Component\Security\Core\Exception\UsernameNotFoundException;
class DocumentUserProvider implements UserProviderInterface class DocumentUserProvider implements UserProviderInterface
{ {

View File

@ -74,7 +74,7 @@ class ExceptionController extends ContainerAware
protected function getStatusCode(FlattenException $exception) protected function getStatusCode(FlattenException $exception)
{ {
switch ($exception->getClass()) { switch ($exception->getClass()) {
case 'Symfony\Component\Security\Exception\AccessDeniedException': case 'Symfony\Component\Security\Core\Exception\AccessDeniedException':
return 403; return 403;
case 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException': case 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException':
return 404; return 404;

View File

@ -11,7 +11,7 @@
namespace Symfony\Bundle\SecurityBundle\DataCollector; namespace Symfony\Bundle\SecurityBundle\DataCollector;
use Symfony\Component\Security\SecurityContext; use Symfony\Component\Security\Core\SecurityContext;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;

View File

@ -596,7 +596,7 @@ class SecurityExtension extends Extension
$userId = $name.'_'.md5(serialize(array($username, $user['password'], $user['roles']))); $userId = $name.'_'.md5(serialize(array($username, $user['password'], $user['roles'])));
$container $container
->register($userId, 'Symfony\Component\Security\User\User') ->register($userId, 'Symfony\Component\Security\Core\User\User')
->setArguments(array($username, $user['password'], $user['roles'])) ->setArguments(array($username, $user['password'], $user['roles']))
->setPublic(false) ->setPublic(false)
; ;

View File

@ -5,61 +5,61 @@
xsi:schemaLocation="http://www.symfony-project.org/schema/dic/services http://www.symfony-project.org/schema/dic/services/services-1.0.xsd"> xsi:schemaLocation="http://www.symfony-project.org/schema/dic/services http://www.symfony-project.org/schema/dic/services/services-1.0.xsd">
<parameters> <parameters>
<parameter key="security.context.class">Symfony\Component\Security\SecurityContext</parameter> <parameter key="security.context.class">Symfony\Component\Security\Core\SecurityContext</parameter>
<parameter key="security.context.always_authenticate">false</parameter> <parameter key="security.context.always_authenticate">false</parameter>
<parameter key="security.account_checker.class">Symfony\Component\Security\User\AccountChecker</parameter> <parameter key="security.account_checker.class">Symfony\Component\Security\Core\User\AccountChecker</parameter>
<parameter key="security.access_denied.url">null</parameter> <parameter key="security.access_denied.url">null</parameter>
<parameter key="security.encoder_factory.generic.class">Symfony\Component\Security\Encoder\EncoderFactory</parameter> <parameter key="security.encoder_factory.generic.class">Symfony\Component\Security\Core\Encoder\EncoderFactory</parameter>
<parameter key="security.encoder.digest.class">Symfony\Component\Security\Encoder\MessageDigestPasswordEncoder</parameter> <parameter key="security.encoder.digest.class">Symfony\Component\Security\Core\Encoder\MessageDigestPasswordEncoder</parameter>
<parameter key="security.encoder.plain.class">Symfony\Component\Security\Encoder\PlaintextPasswordEncoder</parameter> <parameter key="security.encoder.plain.class">Symfony\Component\Security\Core\Encoder\PlaintextPasswordEncoder</parameter>
<parameter key="security.user.provider.in_memory.class">Symfony\Component\Security\User\InMemoryUserProvider</parameter> <parameter key="security.user.provider.in_memory.class">Symfony\Component\Security\Core\User\InMemoryUserProvider</parameter>
<parameter key="security.authentication.trust_resolver.class">Symfony\Component\Security\Authentication\AuthenticationTrustResolver</parameter> <parameter key="security.authentication.trust_resolver.class">Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver</parameter>
<parameter key="security.authentication.trust_resolver.anonymous_class">Symfony\Component\Security\Authentication\Token\AnonymousToken</parameter> <parameter key="security.authentication.trust_resolver.anonymous_class">Symfony\Component\Security\Core\Authentication\Token\AnonymousToken</parameter>
<parameter key="security.authentication.trust_resolver.rememberme_class">Symfony\Component\Security\Authentication\Token\RememberMeToken</parameter> <parameter key="security.authentication.trust_resolver.rememberme_class">Symfony\Component\Security\Core\Authentication\Token\RememberMeToken</parameter>
<parameter key="security.authentication.provider.dao.class">Symfony\Component\Security\Authentication\Provider\DaoAuthenticationProvider</parameter> <parameter key="security.authentication.provider.dao.class">Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider</parameter>
<parameter key="security.authentication.provider.pre_authenticated.class">Symfony\Component\Security\Authentication\Provider\PreAuthenticatedAuthenticationProvider</parameter> <parameter key="security.authentication.provider.pre_authenticated.class">Symfony\Component\Security\Core\Authentication\Provider\PreAuthenticatedAuthenticationProvider</parameter>
<parameter key="security.authentication.provider.rememberme.class">Symfony\Component\Security\Authentication\Provider\RememberMeAuthenticationProvider</parameter> <parameter key="security.authentication.provider.rememberme.class">Symfony\Component\Security\Core\Authentication\Provider\RememberMeAuthenticationProvider</parameter>
<parameter key="security.authentication.manager.class">Symfony\Component\Security\Authentication\AuthenticationProviderManager</parameter> <parameter key="security.authentication.manager.class">Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager</parameter>
<parameter key="security.authentication.retry_entry_point.class">Symfony\Bundle\SecurityBundle\Security\EntryPoint\RetryAuthenticationEntryPoint</parameter> <parameter key="security.authentication.retry_entry_point.class">Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint</parameter>
<parameter key="security.authentication.session_strategy.class">Symfony\Bundle\SecurityBundle\Security\Session\SessionAuthenticationStrategy</parameter> <parameter key="security.authentication.session_strategy.class">Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy</parameter>
<parameter key="security.authentication.session_strategy.strategy">migrate</parameter> <parameter key="security.authentication.session_strategy.strategy">migrate</parameter>
<parameter key="security.authentication.form_entry_point.class">Symfony\Bundle\SecurityBundle\Security\EntryPoint\FormAuthenticationEntryPoint</parameter> <parameter key="security.authentication.form_entry_point.class">Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint</parameter>
<parameter key="security.authentication.listener.form.class">Symfony\Bundle\SecurityBundle\Security\Firewall\UsernamePasswordFormAuthenticationListener</parameter> <parameter key="security.authentication.listener.form.class">Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener</parameter>
<parameter key="security.authentication.form.options" type="collection" /> <parameter key="security.authentication.form.options" type="collection" />
<parameter key="security.authentication.basic_entry_point.class">Symfony\Bundle\SecurityBundle\Security\EntryPoint\BasicAuthenticationEntryPoint</parameter> <parameter key="security.authentication.basic_entry_point.class">Symfony\Component\Security\Http\EntryPoint\BasicAuthenticationEntryPoint</parameter>
<parameter key="security.authentication.basic_entry_point.realm">Symfony2</parameter> <parameter key="security.authentication.basic_entry_point.realm">Symfony2</parameter>
<parameter key="security.authentication.digest_entry_point.class">Symfony\Bundle\SecurityBundle\Security\EntryPoint\DigestAuthenticationEntryPoint</parameter> <parameter key="security.authentication.digest_entry_point.class">Symfony\Component\Security\Http\EntryPoint\DigestAuthenticationEntryPoint</parameter>
<parameter key="security.authentication.digest_entry_point.realm">Symfony2</parameter> <parameter key="security.authentication.digest_entry_point.realm">Symfony2</parameter>
<parameter key="security.authentication.digest_entry_point.key">SomethingUnique</parameter> <parameter key="security.authentication.digest_entry_point.key">SomethingUnique</parameter>
<parameter key="security.authentication.listener.x509.class">Symfony\Bundle\SecurityBundle\Security\Firewall\X509AuthenticationListener</parameter> <parameter key="security.authentication.listener.x509.class">Symfony\Component\Security\Http\Firewall\X509AuthenticationListener</parameter>
<parameter key="security.authentication.x509.user">SSL_CLIENT_S_DN_Email</parameter> <parameter key="security.authentication.x509.user">SSL_CLIENT_S_DN_Email</parameter>
<parameter key="security.authentication.x509.credentials">SSL_CLIENT_S_DN</parameter> <parameter key="security.authentication.x509.credentials">SSL_CLIENT_S_DN</parameter>
<parameter key="security.authentication.listener.basic.class">Symfony\Bundle\SecurityBundle\Security\Firewall\BasicAuthenticationListener</parameter> <parameter key="security.authentication.listener.basic.class">Symfony\Component\Security\Http\Firewall\BasicAuthenticationListener</parameter>
<parameter key="security.authentication.listener.digest.class">Symfony\Bundle\SecurityBundle\Security\Firewall\DigestAuthenticationListener</parameter> <parameter key="security.authentication.listener.digest.class">Symfony\Component\Security\Http\Firewall\DigestAuthenticationListener</parameter>
<parameter key="security.authentication.listener.anonymous.class">Symfony\Bundle\SecurityBundle\Security\Firewall\AnonymousAuthenticationListener</parameter> <parameter key="security.authentication.listener.anonymous.class">Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener</parameter>
<parameter key="security.authentication.provider.anonymous">Symfony\Component\Security\Authentication\Provider\AnonymousAuthenticationProvider</parameter> <parameter key="security.authentication.provider.anonymous">Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider</parameter>
<parameter key="security.anonymous.key">SomeRandomValue</parameter> <parameter key="security.anonymous.key">SomeRandomValue</parameter>
<parameter key="security.authentication.listener.rememberme.class">Symfony\Bundle\SecurityBundle\Security\Firewall\RememberMeListener</parameter> <parameter key="security.authentication.listener.rememberme.class">Symfony\Component\Security\Http\Firewall\RememberMeListener</parameter>
<parameter key="security.rembemerme.token.provider.in_memory.class">Symfony\Component\Security\Authentication\RememberMe\InMemoryTokenProvider</parameter> <parameter key="security.rembemerme.token.provider.in_memory.class">Symfony\Component\Security\Core\Authentication\RememberMe\InMemoryTokenProvider</parameter>
<parameter key="security.authentication.rememberme.services.persistent.class">Symfony\Bundle\SecurityBundle\Security\RememberMe\PersistentTokenBasedRememberMeServices</parameter> <parameter key="security.authentication.rememberme.services.persistent.class">Symfony\Component\Security\Http\RememberMe\PersistentTokenBasedRememberMeServices</parameter>
<parameter key="security.authentication.rememberme.services.simplehash.class">Symfony\Bundle\SecurityBundle\Security\RememberMe\TokenBasedRememberMeServices</parameter> <parameter key="security.authentication.rememberme.services.simplehash.class">Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices</parameter>
<parameter key="security.authentication.rememberme.services.options.name">SYMFONY_REMEMBERME</parameter> <parameter key="security.authentication.rememberme.services.options.name">SYMFONY_REMEMBERME</parameter>
<parameter key="security.authentication.rememberme.services.options.lifetime">31536000</parameter> <parameter key="security.authentication.rememberme.services.options.lifetime">31536000</parameter>
<parameter key="security.authentication.rememberme.services.options.path">/</parameter> <parameter key="security.authentication.rememberme.services.options.path">/</parameter>
@ -69,39 +69,39 @@
<parameter key="security.authentication.rememberme.services.options.always_remember_me">false</parameter> <parameter key="security.authentication.rememberme.services.options.always_remember_me">false</parameter>
<parameter key="security.authentication.rememberme.services.options.remember_me_parameter">_remember_me</parameter> <parameter key="security.authentication.rememberme.services.options.remember_me_parameter">_remember_me</parameter>
<parameter key="security.channel_listener.class">Symfony\Bundle\SecurityBundle\Security\Firewall\ChannelListener</parameter> <parameter key="security.channel_listener.class">Symfony\Component\Security\Http\Firewall\ChannelListener</parameter>
<parameter key="security.logout_listener.class">Symfony\Bundle\SecurityBundle\Security\Firewall\LogoutListener</parameter> <parameter key="security.logout_listener.class">Symfony\Component\Security\Http\Firewall\LogoutListener</parameter>
<parameter key="security.logout.path">/logout</parameter> <parameter key="security.logout.path">/logout</parameter>
<parameter key="security.logout.target_path">/</parameter> <parameter key="security.logout.target_path">/</parameter>
<parameter key="security.logout.handler.session.class">Symfony\Bundle\SecurityBundle\Security\Logout\SessionLogoutHandler</parameter> <parameter key="security.logout.handler.session.class">Symfony\Component\Security\Http\Logout\SessionLogoutHandler</parameter>
<parameter key="security.logout.handler.cookie_clearing.class">Symfony\Bundle\SecurityBundle\Security\Logout\CookieClearingLogoutHandler</parameter> <parameter key="security.logout.handler.cookie_clearing.class">Symfony\Component\Security\Http\Logout\CookieClearingLogoutHandler</parameter>
<parameter key="security.authentication.switchuser_listener.class">Symfony\Bundle\SecurityBundle\Security\Firewall\SwitchUserListener</parameter> <parameter key="security.authentication.switchuser_listener.class">Symfony\Component\Security\Http\Firewall\SwitchUserListener</parameter>
<parameter key="security.authentication.switchuser.role">ROLE_ALLOWED_TO_SWITCH</parameter> <parameter key="security.authentication.switchuser.role">ROLE_ALLOWED_TO_SWITCH</parameter>
<parameter key="security.authentication.switchuser.parameter">_switch_user</parameter> <parameter key="security.authentication.switchuser.parameter">_switch_user</parameter>
<parameter key="security.access.decision_manager.class">Symfony\Component\Security\Authorization\AccessDecisionManager</parameter> <parameter key="security.access.decision_manager.class">Symfony\Component\Security\Core\Authorization\AccessDecisionManager</parameter>
<parameter key="security.access.decision_manager.strategy">affirmative</parameter> <parameter key="security.access.decision_manager.strategy">affirmative</parameter>
<parameter key="security.access.decision_manager.allow_if_all_abstain">false</parameter> <parameter key="security.access.decision_manager.allow_if_all_abstain">false</parameter>
<parameter key="security.access.decision_manager.allow_if_equal_granted_denied">true</parameter> <parameter key="security.access.decision_manager.allow_if_equal_granted_denied">true</parameter>
<parameter key="security.access.denied_url">/access_denied</parameter> <parameter key="security.access.denied_url">/access_denied</parameter>
<parameter key="security.access.simple_role_voter.class">Symfony\Component\Security\Authorization\Voter\RoleVoter</parameter> <parameter key="security.access.simple_role_voter.class">Symfony\Component\Security\Core\Authorization\Voter\RoleVoter</parameter>
<parameter key="security.access.authenticated_voter.class">Symfony\Component\Security\Authorization\Voter\AuthenticatedVoter</parameter> <parameter key="security.access.authenticated_voter.class">Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter</parameter>
<parameter key="security.access.role_hierarchy_voter.class">Symfony\Component\Security\Authorization\Voter\RoleHierarchyVoter</parameter> <parameter key="security.access.role_hierarchy_voter.class">Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter</parameter>
<parameter key="security.access_listener.class">Symfony\Bundle\SecurityBundle\Security\Firewall\AccessListener</parameter> <parameter key="security.access_listener.class">Symfony\Component\Security\Http\Firewall\AccessListener</parameter>
<parameter key="security.access_map.class">Symfony\Bundle\SecurityBundle\Security\AccessMap</parameter> <parameter key="security.access_map.class">Symfony\Component\Security\Http\AccessMap</parameter>
<parameter key="security.exception_listener.class">Symfony\Bundle\SecurityBundle\Security\Firewall\ExceptionListener</parameter> <parameter key="security.exception_listener.class">Symfony\Component\Security\Http\Firewall\ExceptionListener</parameter>
<parameter key="security.context_listener.class">Symfony\Bundle\SecurityBundle\Security\Firewall\ContextListener</parameter> <parameter key="security.context_listener.class">Symfony\Component\Security\Http\Firewall\ContextListener</parameter>
<parameter key="security.firewall.class">Symfony\Bundle\SecurityBundle\Security\Firewall</parameter> <parameter key="security.firewall.class">Symfony\Component\Security\Http\Firewall</parameter>
<parameter key="security.firewall.map.class">Symfony\Bundle\SecurityBundle\Security\FirewallMap</parameter> <parameter key="security.firewall.map.class">Symfony\Bundle\SecurityBundle\Security\FirewallMap</parameter>
<parameter key="security.firewall.context.class">Symfony\Bundle\SecurityBundle\Security\FirewallContext</parameter> <parameter key="security.firewall.context.class">Symfony\Bundle\SecurityBundle\Security\FirewallContext</parameter>
<parameter key="security.matcher.class">Symfony\Component\HttpFoundation\RequestMatcher</parameter> <parameter key="security.matcher.class">Symfony\Component\HttpFoundation\RequestMatcher</parameter>
<parameter key="security.role_hierarchy.class">Symfony\Component\Security\Role\RoleHierarchy</parameter> <parameter key="security.role_hierarchy.class">Symfony\Component\Security\Core\Role\RoleHierarchy</parameter>
</parameters> </parameters>
<services> <services>

View File

@ -2,7 +2,7 @@
namespace Symfony\Bundle\SecurityBundle\Security; namespace Symfony\Bundle\SecurityBundle\Security;
use Symfony\Bundle\SecurityBundle\Security\Firewall\ExceptionListener; use Symfony\Component\Security\Http\Firewall\ExceptionListener;
/** /**
* This is a wrapper around the actual firewall configuration which allows us * This is a wrapper around the actual firewall configuration which allows us

View File

@ -2,7 +2,7 @@
namespace Symfony\Bundle\SecurityBundle\Security; namespace Symfony\Bundle\SecurityBundle\Security;
use Symfony\Bundle\SecurityBundle\Security\FirewallMapInterface; use Symfony\Component\Security\Http\FirewallMapInterface;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;

View File

@ -12,7 +12,7 @@
namespace Symfony\Bundle\SecurityBundle\Templating\Helper; namespace Symfony\Bundle\SecurityBundle\Templating\Helper;
use Symfony\Component\Templating\Helper\Helper; use Symfony\Component\Templating\Helper\Helper;
use Symfony\Component\Security\SecurityContext; use Symfony\Component\Security\Core\SecurityContext;
/** /**
* SecurityHelper provides read-only access to the security context. * SecurityHelper provides read-only access to the security context.

View File

@ -11,7 +11,7 @@
namespace Symfony\Bundle\SecurityBundle\Twig\Extension; namespace Symfony\Bundle\SecurityBundle\Twig\Extension;
use Symfony\Component\Security\SecurityContext; use Symfony\Component\Security\Core\SecurityContext;
/** /**
* SecurityExtension exposes security context features. * SecurityExtension exposes security context features.

View File

@ -12,7 +12,7 @@
namespace Symfony\Component\Security\Acl\Domain; namespace Symfony\Component\Security\Acl\Domain;
use Symfony\Component\Security\Acl\Model\SecurityIdentityInterface; use Symfony\Component\Security\Acl\Model\SecurityIdentityInterface;
use Symfony\Component\Security\Role\Role; use Symfony\Component\Security\Core\Role\Role;
/** /**
* A SecurityIdentity implementation for roles * A SecurityIdentity implementation for roles

View File

@ -11,14 +11,14 @@
namespace Symfony\Component\Security\Acl\Domain; namespace Symfony\Component\Security\Acl\Domain;
use Symfony\Component\Security\Authentication\Token\AnonymousToken; use Symfony\Component\Security\Core\Authentication\Token\AnonymousToken;
use Symfony\Component\Security\User\AccountInterface; use Symfony\Component\Security\Core\User\AccountInterface;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Acl\Model\SecurityIdentityRetrievalStrategyInterface; use Symfony\Component\Security\Acl\Model\SecurityIdentityRetrievalStrategyInterface;
use Symfony\Component\Security\Authentication\AuthenticationTrustResolver; use Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver;
use Symfony\Component\Security\Role\RoleHierarchyInterface; use Symfony\Component\Security\Core\Role\RoleHierarchyInterface;
use Symfony\Component\Security\Authorization\Voter\AuthenticatedVoter; use Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter;
/** /**
* Strategy for retrieving security identities * Strategy for retrieving security identities

View File

@ -11,8 +11,8 @@
namespace Symfony\Component\Security\Acl\Domain; namespace Symfony\Component\Security\Acl\Domain;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\User\AccountInterface; use Symfony\Component\Security\Core\User\AccountInterface;
use Symfony\Component\Security\Acl\Model\SecurityIdentityInterface; use Symfony\Component\Security\Acl\Model\SecurityIdentityInterface;
/** /**

View File

@ -11,7 +11,7 @@
namespace Symfony\Component\Security\Acl\Model; namespace Symfony\Component\Security\Acl\Model;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
/** /**
* Interface for retrieving security identities from tokens * Interface for retrieving security identities from tokens

View File

@ -21,9 +21,9 @@ use Symfony\Component\Security\Acl\Model\AclProviderInterface;
use Symfony\Component\Security\Acl\Permission\PermissionMapInterface; use Symfony\Component\Security\Acl\Permission\PermissionMapInterface;
use Symfony\Component\Security\Acl\Model\SecurityIdentityRetrievalStrategyInterface; use Symfony\Component\Security\Acl\Model\SecurityIdentityRetrievalStrategyInterface;
use Symfony\Component\Security\Acl\Model\ObjectIdentityRetrievalStrategyInterface; use Symfony\Component\Security\Acl\Model\ObjectIdentityRetrievalStrategyInterface;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Authorization\Voter\VoterInterface; use Symfony\Component\Security\Core\Authorization\Voter\VoterInterface;
use Symfony\Component\Security\Role\RoleHierarchyInterface; use Symfony\Component\Security\Core\Role\RoleHierarchyInterface;
/** /**
* This voter can be used as a base class for implementing your own permissions. * This voter can be used as a base class for implementing your own permissions.

View File

@ -9,10 +9,10 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Authentication; namespace Symfony\Component\Security\Core\Authentication;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Exception\AuthenticationException; use Symfony\Component\Security\Core\Exception\AuthenticationException;
/** /**
* AuthenticationManagerInterface is the interface for authentication managers, * AuthenticationManagerInterface is the interface for authentication managers,

View File

@ -9,13 +9,13 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Authentication; namespace Symfony\Component\Security\Core\Authentication;
use Symfony\Component\Security\Exception\AccountStatusException; use Symfony\Component\Security\Core\Exception\AccountStatusException;
use Symfony\Component\Security\Exception\AuthenticationException; use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\Security\Exception\ProviderNotFoundException; use Symfony\Component\Security\Core\Exception\ProviderNotFoundException;
use Symfony\Component\Security\Authentication\Provider\AuthenticationProviderInterface; use Symfony\Component\Security\Core\Authentication\Provider\AuthenticationProviderInterface;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
/** /**
* AuthenticationProviderManager uses a list of AuthenticationProviderInterface * AuthenticationProviderManager uses a list of AuthenticationProviderInterface

View File

@ -9,9 +9,9 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Authentication; namespace Symfony\Component\Security\Core\Authentication;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
/** /**
* The default implementation of the authentication trust resolver. * The default implementation of the authentication trust resolver.

View File

@ -9,9 +9,9 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Authentication; namespace Symfony\Component\Security\Core\Authentication;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
/** /**
* Interface for resolving the authentication status of a given token. * Interface for resolving the authentication status of a given token.

View File

@ -9,9 +9,9 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Authentication\EntryPoint; namespace Symfony\Component\Security\Core\Authentication\EntryPoint;
use Symfony\Component\Security\Exception\AuthenticationException; use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
/** /**

View File

@ -9,11 +9,11 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Authentication\Provider; namespace Symfony\Component\Security\Core\Authentication\Provider;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Exception\BadCredentialsException; use Symfony\Component\Security\Core\Exception\BadCredentialsException;
use Symfony\Component\Security\Authentication\Token\AnonymousToken; use Symfony\Component\Security\Core\Authentication\Token\AnonymousToken;
/** /**
* AnonymousAuthenticationProvider validates AnonymousToken instances. * AnonymousAuthenticationProvider validates AnonymousToken instances.

View File

@ -9,10 +9,10 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Authentication\Provider; namespace Symfony\Component\Security\Core\Authentication\Provider;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Authentication\AuthenticationManagerInterface; use Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface;
/** /**
* AuthenticationProviderInterface is the interface for for all authentication * AuthenticationProviderInterface is the interface for for all authentication

View File

@ -9,17 +9,17 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Authentication\Provider; namespace Symfony\Component\Security\Core\Authentication\Provider;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Encoder\EncoderFactoryInterface; use Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface;
use Symfony\Component\Security\User\UserProviderInterface; use Symfony\Component\Security\Core\User\UserProviderInterface;
use Symfony\Component\Security\User\AccountCheckerInterface; use Symfony\Component\Security\Core\User\AccountCheckerInterface;
use Symfony\Component\Security\User\AccountInterface; use Symfony\Component\Security\Core\User\AccountInterface;
use Symfony\Component\Security\Exception\UsernameNotFoundException; use Symfony\Component\Security\Core\Exception\UsernameNotFoundException;
use Symfony\Component\Security\Exception\AuthenticationServiceException; use Symfony\Component\Security\Core\Exception\AuthenticationServiceException;
use Symfony\Component\Security\Exception\BadCredentialsException; use Symfony\Component\Security\Core\Exception\BadCredentialsException;
use Symfony\Component\Security\Authentication\Token\UsernamePasswordToken; use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
/** /**
* DaoAuthenticationProvider uses a UserProviderInterface to retrieve the user * DaoAuthenticationProvider uses a UserProviderInterface to retrieve the user

View File

@ -9,14 +9,14 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Authentication\Provider; namespace Symfony\Component\Security\Core\Authentication\Provider;
use Symfony\Component\Security\User\AccountInterface; use Symfony\Component\Security\Core\User\AccountInterface;
use Symfony\Component\Security\User\UserProviderInterface; use Symfony\Component\Security\Core\User\UserProviderInterface;
use Symfony\Component\Security\User\AccountCheckerInterface; use Symfony\Component\Security\Core\User\AccountCheckerInterface;
use Symfony\Component\Security\Exception\BadCredentialsException; use Symfony\Component\Security\Core\Exception\BadCredentialsException;
use Symfony\Component\Security\Authentication\Token\PreAuthenticatedToken; use Symfony\Component\Security\Core\Authentication\Token\PreAuthenticatedToken;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
/** /**
* Processes a pre-authenticated authentication request. * Processes a pre-authenticated authentication request.

View File

@ -1,11 +1,11 @@
<?php <?php
namespace Symfony\Component\Security\Authentication\Provider; namespace Symfony\Component\Security\Core\Authentication\Provider;
use Symfony\Component\Security\User\AccountCheckerInterface; use Symfony\Component\Security\Core\User\AccountCheckerInterface;
use Symfony\Component\Security\User\AccountInterface; use Symfony\Component\Security\Core\User\AccountInterface;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Authentication\Token\RememberMeToken; use Symfony\Component\Security\Core\Authentication\Token\RememberMeToken;
use Symfony\Component\Security\Exception\BadCredentialsException; use Symfony\Component\Security\Core\Exception\BadCredentialsException;
class RememberMeAuthenticationProvider implements AuthenticationProviderInterface class RememberMeAuthenticationProvider implements AuthenticationProviderInterface
{ {

View File

@ -9,16 +9,16 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Authentication\Provider; namespace Symfony\Component\Security\Core\Authentication\Provider;
use Symfony\Component\Security\User\AccountInterface; use Symfony\Component\Security\Core\User\AccountInterface;
use Symfony\Component\Security\User\AccountCheckerInterface; use Symfony\Component\Security\Core\User\AccountCheckerInterface;
use Symfony\Component\Security\Exception\UsernameNotFoundException; use Symfony\Component\Security\Core\Exception\UsernameNotFoundException;
use Symfony\Component\Security\Exception\AuthenticationException; use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\Security\Exception\BadCredentialsException; use Symfony\Component\Security\Core\Exception\BadCredentialsException;
use Symfony\Component\Security\Exception\AuthenticationServiceException; use Symfony\Component\Security\Core\Exception\AuthenticationServiceException;
use Symfony\Component\Security\Authentication\Token\UsernamePasswordToken; use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
/** /**
* UserProviderInterface retrieves users for UsernamePasswordToken tokens. * UserProviderInterface retrieves users for UsernamePasswordToken tokens.

View File

@ -1,8 +1,8 @@
<?php <?php
namespace Symfony\Component\Security\Authentication\RememberMe; namespace Symfony\Component\Security\Core\Authentication\RememberMe;
use Symfony\Component\Security\Exception\TokenNotFoundException; use Symfony\Component\Security\Core\Exception\TokenNotFoundException;
/** /**
* This class is used for testing purposes, and is not really suited for production. * This class is used for testing purposes, and is not really suited for production.

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Symfony\Component\Security\Authentication\RememberMe; namespace Symfony\Component\Security\Core\Authentication\RememberMe;
/* /*
* This file is part of the Symfony package. * This file is part of the Symfony package.

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Symfony\Component\Security\Authentication\RememberMe; namespace Symfony\Component\Security\Core\Authentication\RememberMe;
/* /*
* This file is part of the Symfony package. * This file is part of the Symfony package.

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Symfony\Component\Security\Authentication\RememberMe; namespace Symfony\Component\Security\Core\Authentication\RememberMe;
/* /*
* This file is part of the Symfony package. * This file is part of the Symfony package.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Authentication\Token; namespace Symfony\Component\Security\Core\Authentication\Token;
/** /**
* AnonymousToken represents an anonymous token. * AnonymousToken represents an anonymous token.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Authentication\Token; namespace Symfony\Component\Security\Core\Authentication\Token;
/** /**
* PreAuthenticatedToken implements a pre-authenticated token. * PreAuthenticatedToken implements a pre-authenticated token.

View File

@ -9,10 +9,10 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Authentication\Token; namespace Symfony\Component\Security\Core\Authentication\Token;
use Symfony\Component\Security\Authentication\RememberMe\PersistentTokenInterface; use Symfony\Component\Security\Core\Authentication\RememberMe\PersistentTokenInterface;
use Symfony\Component\Security\User\AccountInterface; use Symfony\Component\Security\Core\User\AccountInterface;
/** /**
* Base class for "Remember Me" tokens * Base class for "Remember Me" tokens

View File

@ -9,11 +9,11 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Authentication\Token; namespace Symfony\Component\Security\Core\Authentication\Token;
use Symfony\Component\Security\Role\RoleInterface; use Symfony\Component\Security\Core\Role\RoleInterface;
use Symfony\Component\Security\Role\Role; use Symfony\Component\Security\Core\Role\Role;
use Symfony\Component\Security\User\AccountInterface; use Symfony\Component\Security\Core\User\AccountInterface;
/** /**
* Base class for Token instances. * Base class for Token instances.

View File

@ -9,9 +9,9 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Authentication\Token; namespace Symfony\Component\Security\Core\Authentication\Token;
use Symfony\Component\Security\User\AccountInterface; use Symfony\Component\Security\Core\User\AccountInterface;
/** /**
* TokenInterface is the interface for the user authentication information. * TokenInterface is the interface for the user authentication information.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Authentication\Token; namespace Symfony\Component\Security\Core\Authentication\Token;
/** /**
* UsernamePasswordToken implements a username and password token. * UsernamePasswordToken implements a username and password token.

View File

@ -9,10 +9,10 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Authorization; namespace Symfony\Component\Security\Core\Authorization;
use Symfony\Component\Security\Authorization\Voter\VoterInterface; use Symfony\Component\Security\Core\Authorization\Voter\VoterInterface;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
/** /**
* AccessDecisionManager is the base class for all access decision managers * AccessDecisionManager is the base class for all access decision managers

View File

@ -9,9 +9,9 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Authorization; namespace Symfony\Component\Security\Core\Authorization;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
/** /**
* AccessDecisionManagerInterface makes authorization decisions. * AccessDecisionManagerInterface makes authorization decisions.

View File

@ -9,10 +9,10 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Authorization\Voter; namespace Symfony\Component\Security\Core\Authorization\Voter;
use Symfony\Component\Security\Authentication\AuthenticationTrustResolverInterface; use Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolverInterface;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
/** /**
* AuthenticatedVoter votes if an attribute like IS_AUTHENTICATED_FULLY, * AuthenticatedVoter votes if an attribute like IS_AUTHENTICATED_FULLY,

View File

@ -9,10 +9,10 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Authorization\Voter; namespace Symfony\Component\Security\Core\Authorization\Voter;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Role\RoleHierarchyInterface; use Symfony\Component\Security\Core\Role\RoleHierarchyInterface;
/** /**
* RoleHierarchyVoter uses a RoleHierarchy to determine the roles granted to * RoleHierarchyVoter uses a RoleHierarchy to determine the roles granted to

View File

@ -9,9 +9,9 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Authorization\Voter; namespace Symfony\Component\Security\Core\Authorization\Voter;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
/** /**
* RoleVoter votes if any attribute starts with a given prefix. * RoleVoter votes if any attribute starts with a given prefix.

View File

@ -9,9 +9,9 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Authorization\Voter; namespace Symfony\Component\Security\Core\Authorization\Voter;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
/** /**
* VoterInterface is the interface implemented by all voters. * VoterInterface is the interface implemented by all voters.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Encoder; namespace Symfony\Component\Security\Core\Encoder;
/** /**
* BasePasswordEncoder is the base class for all password encoders. * BasePasswordEncoder is the base class for all password encoders.

View File

@ -9,9 +9,9 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Encoder; namespace Symfony\Component\Security\Core\Encoder;
use Symfony\Component\Security\User\AccountInterface; use Symfony\Component\Security\Core\User\AccountInterface;
/** /**
* A generic encoder factory implementation * A generic encoder factory implementation

View File

@ -9,9 +9,9 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Encoder; namespace Symfony\Component\Security\Core\Encoder;
use Symfony\Component\Security\User\AccountInterface; use Symfony\Component\Security\Core\User\AccountInterface;
/** /**
* EncoderFactoryInterface to support different encoders for different accounts. * EncoderFactoryInterface to support different encoders for different accounts.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Encoder; namespace Symfony\Component\Security\Core\Encoder;
/** /**
* MessageDigestPasswordEncoder uses a message digest algorithm. * MessageDigestPasswordEncoder uses a message digest algorithm.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Encoder; namespace Symfony\Component\Security\Core\Encoder;
/** /**
* PasswordEncoderInterface is the interface for all encoders. * PasswordEncoderInterface is the interface for all encoders.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Encoder; namespace Symfony\Component\Security\Core\Encoder;
/** /**
* PlaintextPasswordEncoder does not do any encoding. * PlaintextPasswordEncoder does not do any encoding.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Exception; namespace Symfony\Component\Security\Core\Exception;
/** /**
* AccessDeniedException is thrown when the account has not the required role. * AccessDeniedException is thrown when the account has not the required role.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Exception; namespace Symfony\Component\Security\Core\Exception;
/** /**
* AccountExpiredException is thrown when the user account has expired. * AccountExpiredException is thrown when the user account has expired.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Exception; namespace Symfony\Component\Security\Core\Exception;
/** /**
* AccountStatusException is the base class for authentication exceptions * AccountStatusException is the base class for authentication exceptions

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Exception; namespace Symfony\Component\Security\Core\Exception;
/** /**
* AuthenticationCredentialsNotFoundException is thrown when an authentication is rejected * AuthenticationCredentialsNotFoundException is thrown when an authentication is rejected

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Exception; namespace Symfony\Component\Security\Core\Exception;
/** /**
* AuthenticationException is the base class for all authentication exceptions. * AuthenticationException is the base class for all authentication exceptions.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Exception; namespace Symfony\Component\Security\Core\Exception;
/** /**
* AuthenticationServiceException is thrown when an authentication request could not be processed due to a system problem. * AuthenticationServiceException is thrown when an authentication request could not be processed due to a system problem.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Exception; namespace Symfony\Component\Security\Core\Exception;
/** /**
* BadCredentialsException is thrown when the user credentials are invalid. * BadCredentialsException is thrown when the user credentials are invalid.

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Symfony\Component\Security\Exception; namespace Symfony\Component\Security\Core\Exception;
/* /*
* This file is part of the Symfony package. * This file is part of the Symfony package.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Exception; namespace Symfony\Component\Security\Core\Exception;
/** /**
* CredentialsExpiredException is thrown when the user account credentials have expired. * CredentialsExpiredException is thrown when the user account credentials have expired.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Exception; namespace Symfony\Component\Security\Core\Exception;
/** /**
* DisabledException is thrown when the user account is disabled. * DisabledException is thrown when the user account is disabled.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Exception; namespace Symfony\Component\Security\Core\Exception;
/** /**
* InsufficientAuthenticationException is thrown if the user credentials are not sufficiently trusted. * InsufficientAuthenticationException is thrown if the user credentials are not sufficiently trusted.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Exception; namespace Symfony\Component\Security\Core\Exception;
/** /**
* LockedException is thrown if the user account is locked. * LockedException is thrown if the user account is locked.

View File

@ -11,8 +11,8 @@
namespace Symfony\Component\HttpKernel\Security\EntryPoint; namespace Symfony\Component\HttpKernel\Security\EntryPoint;
use Symfony\Component\Security\Exception\AuthenticationException; use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\Security\Authentication\EntryPoint\AuthenticationEntryPointInterface; use Symfony\Component\Security\Core\Authentication\EntryPoint\AuthenticationEntryPointInterface;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Log\LoggerInterface; use Symfony\Component\HttpKernel\Log\LoggerInterface;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Exception; namespace Symfony\Component\Security\Core\Exception;
/** /**
* ProviderNotFoundException is thrown when no AuthenticationProviderInterface instance * ProviderNotFoundException is thrown when no AuthenticationProviderInterface instance

View File

@ -1,5 +1,5 @@
<?php <?php
namespace Symfony\Component\Security\Exception; namespace Symfony\Component\Security\Core\Exception;
/* /*
* This file is part of the Symfony package. * This file is part of the Symfony package.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Exception; namespace Symfony\Component\Security\Core\Exception;
/** /**
* This exception is thrown when an account is reloaded from a provider which * This exception is thrown when an account is reloaded from a provider which

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Exception; namespace Symfony\Component\Security\Core\Exception;
/** /**
* UsernameNotFoundException is thrown if a User cannot be found by its username. * UsernameNotFoundException is thrown if a User cannot be found by its username.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Role; namespace Symfony\Component\Security\Core\Role;
/** /**
* Role is a simple implementation of a RoleInterface where the role is a * Role is a simple implementation of a RoleInterface where the role is a

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Role; namespace Symfony\Component\Security\Core\Role;
/** /**
* RoleHierarchy defines a role hierarchy. * RoleHierarchy defines a role hierarchy.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Role; namespace Symfony\Component\Security\Core\Role;
/** /**
* RoleHierarchyInterface is the interface for a role hierarchy. * RoleHierarchyInterface is the interface for a role hierarchy.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Role; namespace Symfony\Component\Security\Core\Role;
/** /**
* RoleInterface represents a role granted to a user. * RoleInterface represents a role granted to a user.

View File

@ -9,9 +9,9 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\Role; namespace Symfony\Component\Security\Core\Role;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
/** /**
* SwitchUserRole is used when the current user temporarily impersonates * SwitchUserRole is used when the current user temporarily impersonates

View File

@ -9,11 +9,11 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security; namespace Symfony\Component\Security\Core;
use Symfony\Component\Security\Authorization\AccessDecisionManagerInterface; use Symfony\Component\Security\Core\Authorization\AccessDecisionManagerInterface;
use Symfony\Component\Security\Authentication\AuthenticationManagerInterface; use Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Acl\Voter\FieldVote; use Symfony\Component\Security\Acl\Voter\FieldVote;
/** /**

View File

@ -9,12 +9,12 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\User; namespace Symfony\Component\Security\Core\User;
use Symfony\Component\Security\Exception\CredentialsExpiredException; use Symfony\Component\Security\Core\Exception\CredentialsExpiredException;
use Symfony\Component\Security\Exception\LockedException; use Symfony\Component\Security\Core\Exception\LockedException;
use Symfony\Component\Security\Exception\DisabledException; use Symfony\Component\Security\Core\Exception\DisabledException;
use Symfony\Component\Security\Exception\AccountExpiredException; use Symfony\Component\Security\Core\Exception\AccountExpiredException;
/** /**
* AccountChecker checks the user account flags. * AccountChecker checks the user account flags.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\User; namespace Symfony\Component\Security\Core\User;
/** /**
* AccountCheckerInterface checks user account when authentication occurs. * AccountCheckerInterface checks user account when authentication occurs.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\User; namespace Symfony\Component\Security\Core\User;
/** /**
* AccountInterface is the interface that user classes must implement. * AccountInterface is the interface that user classes must implement.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\User; namespace Symfony\Component\Security\Core\User;
/** /**
* AdvancedAccountInterface adds status flags to a regular account. * AdvancedAccountInterface adds status flags to a regular account.

View File

@ -9,10 +9,10 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\User; namespace Symfony\Component\Security\Core\User;
use Symfony\Component\Security\Exception\UsernameNotFoundException; use Symfony\Component\Security\Core\Exception\UsernameNotFoundException;
use Symfony\Component\Security\Exception\UnsupportedAccountException; use Symfony\Component\Security\Core\Exception\UnsupportedAccountException;
/** /**
* InMemoryUserProvider is a simple non persistent user provider. * InMemoryUserProvider is a simple non persistent user provider.
@ -93,6 +93,6 @@ class InMemoryUserProvider implements UserProviderInterface
*/ */
public function supportsClass($class) public function supportsClass($class)
{ {
return $class === 'Symfony\Component\Security\User\User'; return $class === 'Symfony\Component\Security\Core\User\User';
} }
} }

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\User; namespace Symfony\Component\Security\Core\User;
/** /**
* User is the user implementation used by the in-memory user provider. * User is the user implementation used by the in-memory user provider.

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Component\Security\User; namespace Symfony\Component\Security\Core\User;
/** /**
* UserProviderInterface is the implementation that all user provider must * UserProviderInterface is the implementation that all user provider must

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Bundle\SecurityBundle\Security; namespace Symfony\Component\Security\Http;
use Symfony\Component\HttpFoundation\RequestMatcherInterface; use Symfony\Component\HttpFoundation\RequestMatcherInterface;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Symfony\Bundle\SecurityBundle\Security\Authentication; namespace Symfony\Component\Security\Http\Authentication;
use Symfony\Component\EventDispatcher\EventInterface; use Symfony\Component\EventDispatcher\EventInterface;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;

View File

@ -1,9 +1,9 @@
<?php <?php
namespace Symfony\Bundle\SecurityBundle\Security\Authentication; namespace Symfony\Component\Security\Http\Authentication;
use Symfony\Component\EventDispatcher\EventInterface; use Symfony\Component\EventDispatcher\EventInterface;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
interface AuthenticationSuccessHandlerInterface interface AuthenticationSuccessHandlerInterface

View File

@ -9,10 +9,10 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Bundle\SecurityBundle\Security\EntryPoint; namespace Symfony\Component\Security\Http\EntryPoint;
use Symfony\Component\Security\Exception\AuthenticationException; use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\Security\Authentication\EntryPoint\AuthenticationEntryPointInterface; use Symfony\Component\Security\Core\Authentication\EntryPoint\AuthenticationEntryPointInterface;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;

View File

@ -9,11 +9,11 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Bundle\SecurityBundle\Security\EntryPoint; namespace Symfony\Component\Security\Http\EntryPoint;
use Symfony\Component\Security\Exception\AuthenticationException; use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\Security\Authentication\EntryPoint\AuthenticationEntryPointInterface; use Symfony\Component\Security\Core\Authentication\EntryPoint\AuthenticationEntryPointInterface;
use Symfony\Component\Security\Exception\NonceExpiredException; use Symfony\Component\Security\Core\Exception\NonceExpiredException;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\Log\LoggerInterface; use Symfony\Component\HttpKernel\Log\LoggerInterface;

View File

@ -9,13 +9,13 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Bundle\SecurityBundle\Security\EntryPoint; namespace Symfony\Component\Security\Http\EntryPoint;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Security\Exception\AuthenticationException; use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\Security\Authentication\EntryPoint\AuthenticationEntryPointInterface; use Symfony\Component\Security\Core\Authentication\EntryPoint\AuthenticationEntryPointInterface;
use Symfony\Component\Security\SecurityContext; use Symfony\Component\Security\Core\SecurityContext;
/** /**
* FormAuthenticationEntryPoint starts an authentication via a login form. * FormAuthenticationEntryPoint starts an authentication via a login form.

View File

@ -9,10 +9,10 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Bundle\SecurityBundle\Security\EntryPoint; namespace Symfony\Component\Security\Http\EntryPoint;
use Symfony\Component\Security\Exception\AuthenticationException; use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\Security\Authentication\EntryPoint\AuthenticationEntryPointInterface; use Symfony\Component\Security\Core\Authentication\EntryPoint\AuthenticationEntryPointInterface;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;

View File

@ -1,10 +1,10 @@
<?php <?php
namespace Symfony\Bundle\SecurityBundle\Security\ExceptionTranslation; namespace Symfony\Component\Security\Http\ExceptionTranslation;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\EventDispatcher\EventInterface; use Symfony\Component\EventDispatcher\EventInterface;
use Symfony\Component\Security\Exception\AccessDeniedException; use Symfony\Component\Security\Core\Exception\AccessDeniedException;
/** /**
* This is used by the ExceptionListener to translate an AccessDeniedException * This is used by the ExceptionListener to translate an AccessDeniedException

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Bundle\SecurityBundle\Security; namespace Symfony\Component\Security\Http;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\EventInterface; use Symfony\Component\EventDispatcher\EventInterface;

View File

@ -9,24 +9,24 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Bundle\SecurityBundle\Security\Firewall; namespace Symfony\Component\Security\Http\Firewall;
use Symfony\Component\EventDispatcher\Event; use Symfony\Component\EventDispatcher\Event;
use Symfony\Bundle\SecurityBundle\Security\Session\SessionAuthenticationStrategyInterface; use Symfony\Component\Security\Http\Session\SessionAuthenticationStrategyInterface;
use Symfony\Bundle\SecurityBundle\Security\Authentication\AuthenticationFailureHandlerInterface; use Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface;
use Symfony\Bundle\SecurityBundle\Security\Authentication\AuthenticationSuccessHandlerInterface; use Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface;
use Symfony\Bundle\SecurityBundle\Security\RememberMe\RememberMeServicesInterface; use Symfony\Component\Security\Http\RememberMe\RememberMeServicesInterface;
use Symfony\Component\Security\SecurityContext; use Symfony\Component\Security\Core\SecurityContext;
use Symfony\Component\Security\Authentication\AuthenticationManagerInterface; use Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface;
use Symfony\Component\HttpKernel\Log\LoggerInterface; use Symfony\Component\HttpKernel\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\EventInterface; use Symfony\Component\EventDispatcher\EventInterface;
use Symfony\Component\Security\Exception\AuthenticationException; use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\HttpKernelInterface; use Symfony\Component\HttpKernel\HttpKernelInterface;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
/** /**
* The AbstractAuthenticationListener is the preferred base class for all * The AbstractAuthenticationListener is the preferred base class for all
@ -152,9 +152,9 @@ abstract class AbstractAuthenticationListener implements ListenerInterface
$response = $this->onFailure($event, $request, $failed); $response = $this->onFailure($event, $request, $failed);
} }
$event->setReturnValue($response); $event->setProcessed();
return true; return $response;
} }
/** /**

View File

@ -9,17 +9,17 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Bundle\SecurityBundle\Security\Firewall; namespace Symfony\Component\Security\Http\Firewall;
use Symfony\Component\Security\SecurityContext; use Symfony\Component\Security\Core\SecurityContext;
use Symfony\Component\Security\Authorization\AccessDecisionManagerInterface; use Symfony\Component\Security\Core\Authorization\AccessDecisionManagerInterface;
use Symfony\Bundle\SecurityBundle\Security\AccessMap; use Symfony\Component\Security\Http\AccessMap;
use Symfony\Component\Security\Authentication\AuthenticationManagerInterface; use Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface;
use Symfony\Component\HttpKernel\Log\LoggerInterface; use Symfony\Component\HttpKernel\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\EventInterface; use Symfony\Component\EventDispatcher\EventInterface;
use Symfony\Component\Security\Exception\AuthenticationCredentialsNotFoundException; use Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundException;
use Symfony\Component\Security\Exception\AccessDeniedException; use Symfony\Component\Security\Core\Exception\AccessDeniedException;
/** /**
* AccessListener enforces access control rules. * AccessListener enforces access control rules.

View File

@ -9,13 +9,13 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Bundle\SecurityBundle\Security\Firewall; namespace Symfony\Component\Security\Http\Firewall;
use Symfony\Component\Security\SecurityContext; use Symfony\Component\Security\Core\SecurityContext;
use Symfony\Component\HttpKernel\Log\LoggerInterface; use Symfony\Component\HttpKernel\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\EventInterface; use Symfony\Component\EventDispatcher\EventInterface;
use Symfony\Component\Security\Authentication\Token\AnonymousToken; use Symfony\Component\Security\Core\Authentication\Token\AnonymousToken;
/** /**
* AnonymousAuthenticationListener automatically addds a Token if none is * AnonymousAuthenticationListener automatically addds a Token if none is

View File

@ -9,16 +9,16 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Bundle\SecurityBundle\Security\Firewall; namespace Symfony\Component\Security\Http\Firewall;
use Symfony\Component\Security\SecurityContext; use Symfony\Component\Security\Core\SecurityContext;
use Symfony\Component\Security\Authentication\AuthenticationManagerInterface; use Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface;
use Symfony\Component\Security\Authentication\EntryPoint\AuthenticationEntryPointInterface; use Symfony\Component\Security\Core\Authentication\EntryPoint\AuthenticationEntryPointInterface;
use Symfony\Component\HttpKernel\Log\LoggerInterface; use Symfony\Component\HttpKernel\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\EventInterface; use Symfony\Component\EventDispatcher\EventInterface;
use Symfony\Component\Security\Authentication\Token\UsernamePasswordToken; use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
use Symfony\Component\Security\Exception\AuthenticationException; use Symfony\Component\Security\Core\Exception\AuthenticationException;
/** /**
* BasicAuthenticationListener implements Basic HTTP authentication. * BasicAuthenticationListener implements Basic HTTP authentication.

View File

@ -9,10 +9,10 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Bundle\SecurityBundle\Security\Firewall; namespace Symfony\Component\Security\Http\Firewall;
use Symfony\Bundle\SecurityBundle\Security\AccessMap; use Symfony\Component\Security\Http\AccessMap;
use Symfony\Component\Security\Authentication\EntryPoint\AuthenticationEntryPointInterface; use Symfony\Component\Security\Core\Authentication\EntryPoint\AuthenticationEntryPointInterface;
use Symfony\Component\HttpKernel\Log\LoggerInterface; use Symfony\Component\HttpKernel\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\EventInterface; use Symfony\Component\EventDispatcher\EventInterface;

View File

@ -9,19 +9,19 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Bundle\SecurityBundle\Security\Firewall; namespace Symfony\Component\Security\Http\Firewall;
use Symfony\Component\EventDispatcher\EventInterface; use Symfony\Component\EventDispatcher\EventInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\HttpKernelInterface; use Symfony\Component\HttpKernel\HttpKernelInterface;
use Symfony\Component\HttpKernel\Log\LoggerInterface; use Symfony\Component\HttpKernel\Log\LoggerInterface;
use Symfony\Component\Security\Authentication\Token\AnonymousToken; use Symfony\Component\Security\Core\Authentication\Token\AnonymousToken;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Exception\UsernameNotFoundException; use Symfony\Component\Security\Core\Exception\UsernameNotFoundException;
use Symfony\Component\Security\Exception\UnsupportedAccountException; use Symfony\Component\Security\Core\Exception\UnsupportedAccountException;
use Symfony\Component\Security\SecurityContext; use Symfony\Component\Security\Core\SecurityContext;
use Symfony\Component\Security\User\AccountInterface; use Symfony\Component\Security\Core\User\AccountInterface;
/** /**
* ContextListener manages the SecurityContext persistence through a session. * ContextListener manages the SecurityContext persistence through a session.

View File

@ -9,21 +9,21 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Bundle\SecurityBundle\Security\Firewall; namespace Symfony\Component\Security\Http\Firewall;
use Symfony\Component\Security\SecurityContext; use Symfony\Component\Security\Core\SecurityContext;
use Symfony\Component\Security\User\UserProviderInterface; use Symfony\Component\Security\Core\User\UserProviderInterface;
use Symfony\Bundle\SecurityBundle\Security\EntryPoint\DigestAuthenticationEntryPoint; use Symfony\Component\Security\Http\EntryPoint\DigestAuthenticationEntryPoint;
use Symfony\Component\HttpKernel\Log\LoggerInterface; use Symfony\Component\HttpKernel\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\EventInterface; use Symfony\Component\EventDispatcher\EventInterface;
use Symfony\Component\Security\Authentication\Token\UsernamePasswordToken; use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
use Symfony\Component\Security\Exception\BadCredentialsException; use Symfony\Component\Security\Core\Exception\BadCredentialsException;
use Symfony\Component\Security\Exception\AuthenticationServiceException; use Symfony\Component\Security\Core\Exception\AuthenticationServiceException;
use Symfony\Component\Security\Exception\UsernameNotFoundException; use Symfony\Component\Security\Core\Exception\UsernameNotFoundException;
use Symfony\Bundle\SecurityBundle\Security\EntryPoint\NonceExpiredException; use Symfony\Component\Security\Http\EntryPoint\NonceExpiredException;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Security\Exception\AuthenticationException; use Symfony\Component\Security\Core\Exception\AuthenticationException;
/** /**
* DigestAuthenticationListener implements Digest HTTP authentication. * DigestAuthenticationListener implements Digest HTTP authentication.

View File

@ -9,21 +9,21 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Bundle\SecurityBundle\Security\Firewall; namespace Symfony\Component\Security\Http\Firewall;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;
use Symfony\Bundle\SecurityBundle\Security\AccessDeniedHandler; use Symfony\Bundle\SecurityBundle\Security\AccessDeniedHandler;
use Symfony\Bundle\SecurityBundle\Security\ExceptionTranslation\AccessDeniedHandlerInterface; use Symfony\Component\Security\Http\ExceptionTranslation\AccessDeniedHandlerInterface;
use Symfony\Component\Security\SecurityContext; use Symfony\Component\Security\Core\SecurityContext;
use Symfony\Component\Security\Authentication\AuthenticationTrustResolverInterface; use Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolverInterface;
use Symfony\Component\Security\Authentication\EntryPoint\AuthenticationEntryPointInterface; use Symfony\Component\Security\Core\Authentication\EntryPoint\AuthenticationEntryPointInterface;
use Symfony\Component\HttpKernel\Log\LoggerInterface; use Symfony\Component\HttpKernel\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\EventInterface; use Symfony\Component\EventDispatcher\EventInterface;
use Symfony\Component\Security\Exception\AuthenticationException; use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\Security\Exception\AccessDeniedException; use Symfony\Component\Security\Core\Exception\AccessDeniedException;
use Symfony\Component\Security\Authentication\Token\AnonymousToken; use Symfony\Component\Security\Core\Authentication\Token\AnonymousToken;
use Symfony\Component\Security\Exception\InsufficientAuthenticationException; use Symfony\Component\Security\Core\Exception\InsufficientAuthenticationException;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\HttpKernelInterface; use Symfony\Component\HttpKernel\HttpKernelInterface;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Bundle\SecurityBundle\Security\Firewall; namespace Symfony\Component\Security\Http\Firewall;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface;

View File

@ -9,10 +9,10 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Bundle\SecurityBundle\Security\Firewall; namespace Symfony\Component\Security\Http\Firewall;
use Symfony\Bundle\SecurityBundle\Security\Logout\LogoutHandlerInterface; use Symfony\Component\Security\Http\Logout\LogoutHandlerInterface;
use Symfony\Component\Security\SecurityContext; use Symfony\Component\Security\Core\SecurityContext;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\EventInterface; use Symfony\Component\EventDispatcher\EventInterface;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;

View File

@ -9,15 +9,15 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Bundle\SecurityBundle\Security\Firewall; namespace Symfony\Component\Security\Http\Firewall;
use Symfony\Component\Security\SecurityContext; use Symfony\Component\Security\Core\SecurityContext;
use Symfony\Component\Security\Authentication\AuthenticationManagerInterface; use Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface;
use Symfony\Component\HttpKernel\Log\LoggerInterface; use Symfony\Component\HttpKernel\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\EventInterface; use Symfony\Component\EventDispatcher\EventInterface;
use Symfony\Component\Security\Authentication\Token\PreAuthenticatedToken; use Symfony\Component\Security\Core\Authentication\Token\PreAuthenticatedToken;
use Symfony\Component\Security\Exception\AuthenticationException; use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
/** /**

View File

@ -1,18 +1,18 @@
<?php <?php
namespace Symfony\Bundle\SecurityBundle\Security\Firewall; namespace Symfony\Component\Security\Http\Firewall;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Exception\AuthenticationException; use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\Security\Exception\CookieTheftException; use Symfony\Component\Security\Core\Exception\CookieTheftException;
use Symfony\Component\HttpKernel\HttpKernelInterface; use Symfony\Component\HttpKernel\HttpKernelInterface;
use Symfony\Component\HttpKernel\Log\LoggerInterface; use Symfony\Component\HttpKernel\Log\LoggerInterface;
use Symfony\Component\Security\Authentication\AuthenticationManagerInterface; use Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\EventInterface; use Symfony\Component\EventDispatcher\EventInterface;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Security\SecurityContext; use Symfony\Component\Security\Core\SecurityContext;
use Symfony\Bundle\SecurityBundle\Security\RememberMe\RememberMeServicesInterface; use Symfony\Component\Security\Http\RememberMe\RememberMeServicesInterface;
/* /*
* This file is part of the Symfony framework. * This file is part of the Symfony framework.

View File

@ -9,22 +9,22 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
namespace Symfony\Bundle\SecurityBundle\Security\Firewall; namespace Symfony\Component\Security\Http\Firewall;
use Symfony\Component\Security\SecurityContext; use Symfony\Component\Security\Core\SecurityContext;
use Symfony\Component\Security\User\UserProviderInterface; use Symfony\Component\Security\Core\User\UserProviderInterface;
use Symfony\Component\Security\User\AccountCheckerInterface; use Symfony\Component\Security\Core\User\AccountCheckerInterface;
use Symfony\Component\Security\Authorization\AccessDecisionManagerInterface; use Symfony\Component\Security\Core\Authorization\AccessDecisionManagerInterface;
use Symfony\Component\HttpKernel\Log\LoggerInterface; use Symfony\Component\HttpKernel\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\EventInterface; use Symfony\Component\EventDispatcher\EventInterface;
use Symfony\Component\Security\Exception\AuthenticationException; use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Security\Role\SwitchUserRole; use Symfony\Component\Security\Core\Role\SwitchUserRole;
use Symfony\Component\Security\Authentication\Token\UsernamePasswordToken; use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
use Symfony\Component\Security\Exception\AuthenticationCredentialsNotFoundException; use Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundException;
use Symfony\Component\Security\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
/** /**
* SwitchUserListener allows a user to impersonate another one temporarly * SwitchUserListener allows a user to impersonate another one temporarly

Some files were not shown because too many files have changed in this diff Show More