diff options
-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) { |