summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Kotyrba <artur.kotyrba@gmail.com>2010-10-20 19:36:08 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2010-10-21 08:30:46 +0200
commit800e6d20195ecb79d17ee50dd0d3cae0bf72ac78 (patch)
tree0825a2a1a508b5d06312777df66cf1876e5f692e
parent53627ddd47ff4d68aab31b8944cb9b818c1189f0 (diff)
downloadsymfony-security-800e6d20195ecb79d17ee50dd0d3cae0bf72ac78.zip
symfony-security-800e6d20195ecb79d17ee50dd0d3cae0bf72ac78.tar.gz
symfony-security-800e6d20195ecb79d17ee50dd0d3cae0bf72ac78.tar.bz2
[Security] Fixed typo
-rw-r--r--Authentication/Provider/PreAuthenticatedAuthenticationProvider.php6
-rw-r--r--Authorization/AccessDecisionManager.php2
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) {