diff options
author | Alexander <iam.asm89@gmail.com> | 2012-06-20 08:50:59 +0200 |
---|---|---|
committer | Alexander <iam.asm89@gmail.com> | 2012-07-08 19:59:10 +0200 |
commit | 2396695756f94bb70b6dd8f097611bd35ef0eb80 (patch) | |
tree | 7affc8cac1d0338fb1b5cbe609851cfd4dff9020 /Http/Authentication/DefaultAuthenticationSuccessHandler.php | |
parent | 7004925db73aaedefcbb58c92d8be68a05926ddd (diff) | |
download | symfony-security-2396695756f94bb70b6dd8f097611bd35ef0eb80.zip symfony-security-2396695756f94bb70b6dd8f097611bd35ef0eb80.tar.gz symfony-security-2396695756f94bb70b6dd8f097611bd35ef0eb80.tar.bz2 |
[Security] Move default authentication failure handling strategy to seperate class [Security] Update configuration for changes regarding default failure handler [Security] Fixes + add AbstractFactory test for failure handler
Diffstat (limited to 'Http/Authentication/DefaultAuthenticationSuccessHandler.php')
-rw-r--r-- | Http/Authentication/DefaultAuthenticationSuccessHandler.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Http/Authentication/DefaultAuthenticationSuccessHandler.php b/Http/Authentication/DefaultAuthenticationSuccessHandler.php index 5d414c6..8139786 100644 --- a/Http/Authentication/DefaultAuthenticationSuccessHandler.php +++ b/Http/Authentication/DefaultAuthenticationSuccessHandler.php @@ -26,6 +26,16 @@ use Symfony\Component\Security\Http\HttpUtils; class DefaultAuthenticationSuccessHandler implements AuthenticationSuccessHandlerInterface { /** + * @var HttpUtils + */ + protected $httpUtils; + + /** + * @var array + */ + protected $options; + + /** * Constructor. * * @param HttpUtils $httpUtils HttpUtils @@ -38,6 +48,7 @@ class DefaultAuthenticationSuccessHandler implements AuthenticationSuccessHandle $this->options = array_merge(array( 'always_use_default_target_path' => false, 'default_target_path' => '/', + 'login_path' => '/login', 'target_path_parameter' => '_target_path', 'use_referer' => false, ), $options); |