summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2013-01-22 08:14:10 +0100
committerFabien Potencier <fabien.potencier@gmail.com>2013-01-22 08:14:57 +0100
commit9614e70a3b18909350c877d83aada298b7380f92 (patch)
treea3432865dab026b11bbc1c827ad8ebfcd2d7ef3d
parent6335d042d57da0016da722abefd9e1c519c88f2c (diff)
parente69d4134a2c4c854132b98e2024d6434f36ebaa2 (diff)
downloadsymfony-security-9614e70a3b18909350c877d83aada298b7380f92.zip
symfony-security-9614e70a3b18909350c877d83aada298b7380f92.tar.gz
symfony-security-9614e70a3b18909350c877d83aada298b7380f92.tar.bz2
Merge branch '2.0' into 2.1
* 2.0: [DependencyInjection] fixed the creation of synthetic services in ContainerBuilder [Security] PHPDoc in SecurityEvents [FrameworkBundle] fixed Client::doRequest that must call its parent method (closes #6737) [Yaml] fixed ignored text when parsing an inlined mapping or sequence (closes #6786) [Yaml] fixed #6773 [Yaml] fixed #6770 bumped Symfony version to 2.0.23-DEV Conflicts: src/Symfony/Component/DependencyInjection/ContainerBuilder.php src/Symfony/Component/HttpKernel/Kernel.php src/Symfony/Component/Yaml/Inline.php src/Symfony/Component/Yaml/Tests/InlineTest.php
-rw-r--r--Http/SecurityEvents.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/Http/SecurityEvents.php b/Http/SecurityEvents.php
index a6c4e42..45fae29 100644
--- a/Http/SecurityEvents.php
+++ b/Http/SecurityEvents.php
@@ -13,7 +13,25 @@ namespace Symfony\Component\Security\Http;
final class SecurityEvents
{
+ /**
+ * The INTERACTIVE_LOGIN event occurs after a user is logged in
+ * interactively for authentication based on http, cookies or X509.
+ *
+ * The event listener method receives a
+ * Symfony\Component\Security\Http\Event\InteractiveLoginEvent instance.
+ *
+ * @var string
+ */
const INTERACTIVE_LOGIN = 'security.interactive_login';
+ /**
+ * The SWITCH_USER event occurs before switch to another user and
+ * before exit from an already switched user.
+ *
+ * The event listener method receives a
+ * Symfony\Component\Security\Http\Event\SwitchUserEvent instance.
+ *
+ * @var string
+ */
const SWITCH_USER = 'security.switch_user';
}