diff options
author | Artur Kotyrba <artur.kotyrba@gmail.com> | 2010-10-20 19:36:08 +0200 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2010-10-21 08:30:46 +0200 |
commit | 800e6d20195ecb79d17ee50dd0d3cae0bf72ac78 (patch) | |
tree | 0825a2a1a508b5d06312777df66cf1876e5f692e | |
parent | 53627ddd47ff4d68aab31b8944cb9b818c1189f0 (diff) | |
download | symfony-security-800e6d20195ecb79d17ee50dd0d3cae0bf72ac78.zip symfony-security-800e6d20195ecb79d17ee50dd0d3cae0bf72ac78.tar.gz symfony-security-800e6d20195ecb79d17ee50dd0d3cae0bf72ac78.tar.bz2 |
[Security] Fixed typo
-rw-r--r-- | Authentication/Provider/PreAuthenticatedAuthenticationProvider.php | 6 | ||||
-rw-r--r-- | Authorization/AccessDecisionManager.php | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/Authentication/Provider/PreAuthenticatedAuthenticationProvider.php b/Authentication/Provider/PreAuthenticatedAuthenticationProvider.php index 736493d..dc75113 100644 --- a/Authentication/Provider/PreAuthenticatedAuthenticationProvider.php +++ b/Authentication/Provider/PreAuthenticatedAuthenticationProvider.php @@ -18,13 +18,11 @@ use Symfony\Component\Security\Authentication\Token\TokenInterface; */ /** - * Processes a pre-authenticated authentication request. The request will - * typically originate from a {@link org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter} - * subclass. + * Processes a pre-authenticated authentication request. * * This authentication provider will not perform any checks on authentication * requests, as they should already be pre-authenticated. However, the - * AuthenticationUserDetailsService implementation may still throw a UsernameNotFoundException, for example. + * UserProviderInterface implementation may still throw a UsernameNotFoundException, for example. * * @author Fabien Potencier <fabien.potencier@symfony-project.com> */ diff --git a/Authorization/AccessDecisionManager.php b/Authorization/AccessDecisionManager.php index d458b89..983ad03 100644 --- a/Authorization/AccessDecisionManager.php +++ b/Authorization/AccessDecisionManager.php @@ -185,7 +185,7 @@ class AccessDecisionManager implements AccessDecisionManagerInterface } if ($grant > $deny) { - return; + return true; } if ($deny > $grant) { |