diff options
author | Dominique Bongiraud <doume031@wanadoo.fr> | 2010-10-23 10:41:27 +0200 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2010-10-24 09:55:32 +0200 |
commit | 8655de8c47585551e6599c9bd4fa349e863f6866 (patch) | |
tree | 0d49d1d53a198b7188926ddb0f197fd195f31725 | |
parent | e96c4eb4c5c97bdad7d93ce2f666ffedf453572a (diff) | |
download | symfony-security-8655de8c47585551e6599c9bd4fa349e863f6866.zip symfony-security-8655de8c47585551e6599c9bd4fa349e863f6866.tar.gz symfony-security-8655de8c47585551e6599c9bd4fa349e863f6866.tar.bz2 |
[Security]Fixed markup
-rw-r--r-- | Authentication/EntryPoint/AuthenticationEntryPointInterface.php | 3 | ||||
-rw-r--r-- | Authentication/Provider/AuthenticationProviderInterface.php | 3 | ||||
-rw-r--r-- | Authentication/Provider/DaoAuthenticationProvider.php | 3 | ||||
-rw-r--r-- | Authentication/Provider/PreAuthenticatedAuthenticationProvider.php | 3 | ||||
-rw-r--r-- | Authorization/AccessDecisionManager.php | 10 | ||||
-rw-r--r-- | Authorization/Voter/AuthenticatedVoter.php | 3 | ||||
-rw-r--r-- | Authorization/Voter/RoleHierarchyVoter.php | 3 | ||||
-rw-r--r-- | Encoder/BasePasswordEncoder.php | 4 | ||||
-rw-r--r-- | Role/Role.php | 3 | ||||
-rw-r--r-- | Role/RoleHierarchyInterface.php | 5 | ||||
-rw-r--r-- | Role/RoleInterface.php | 9 | ||||
-rw-r--r-- | Role/SwitchUserRole.php | 3 | ||||
-rw-r--r-- | User/InMemoryUserProvider.php | 4 | ||||
-rw-r--r-- | User/UserProviderInterface.php | 6 |
14 files changed, 36 insertions, 26 deletions
diff --git a/Authentication/EntryPoint/AuthenticationEntryPointInterface.php b/Authentication/EntryPoint/AuthenticationEntryPointInterface.php index dc825c1..e58f219 100644 --- a/Authentication/EntryPoint/AuthenticationEntryPointInterface.php +++ b/Authentication/EntryPoint/AuthenticationEntryPointInterface.php @@ -15,7 +15,8 @@ use Symfony\Component\HttpFoundation\Request; */ /** - * AuthenticationEntryPointInterface is the interface used to start the authentication scheme. + * AuthenticationEntryPointInterface is the interface used to start the + * authentication scheme. * * @author Fabien Potencier <fabien.potencier@symfony-project.com> */ diff --git a/Authentication/Provider/AuthenticationProviderInterface.php b/Authentication/Provider/AuthenticationProviderInterface.php index 61a428b..bfa8921 100644 --- a/Authentication/Provider/AuthenticationProviderInterface.php +++ b/Authentication/Provider/AuthenticationProviderInterface.php @@ -15,7 +15,8 @@ use Symfony\Component\Security\Authentication\AuthenticationManagerInterface; */ /** - * AuthenticationProviderInterface is the interface for for all authentication providers. + * AuthenticationProviderInterface is the interface for for all authentication + * providers. * * Concrete implementations processes specific Token instances. * diff --git a/Authentication/Provider/DaoAuthenticationProvider.php b/Authentication/Provider/DaoAuthenticationProvider.php index 3035725..b5ae27c 100644 --- a/Authentication/Provider/DaoAuthenticationProvider.php +++ b/Authentication/Provider/DaoAuthenticationProvider.php @@ -22,7 +22,8 @@ use Symfony\Component\Security\Authentication\Token\UsernamePasswordToken; */ /** - * DaoAuthenticationProvider uses a UserProviderInterface to retrieve the user for a UsernamePasswordToken. + * DaoAuthenticationProvider uses a UserProviderInterface to retrieve the user + * for a UsernamePasswordToken. * * @author Fabien Potencier <fabien.potencier@symfony-project.com> */ diff --git a/Authentication/Provider/PreAuthenticatedAuthenticationProvider.php b/Authentication/Provider/PreAuthenticatedAuthenticationProvider.php index dc75113..1494dcf 100644 --- a/Authentication/Provider/PreAuthenticatedAuthenticationProvider.php +++ b/Authentication/Provider/PreAuthenticatedAuthenticationProvider.php @@ -22,7 +22,8 @@ use Symfony\Component\Security\Authentication\Token\TokenInterface; * * This authentication provider will not perform any checks on authentication * requests, as they should already be pre-authenticated. However, the - * UserProviderInterface 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 4b3cae4..f927a42 100644 --- a/Authorization/AccessDecisionManager.php +++ b/Authorization/AccessDecisionManager.php @@ -150,11 +150,13 @@ class AccessDecisionManager implements AccessDecisionManagerInterface /** * Grants access if there is consensus of granted against denied responses. * - * Consensus means majority-rule (ignoring abstains) rather than unanimous agreement (ignoring abstains). - * If you require unanimity, see UnanimousBased. + * Consensus means majority-rule (ignoring abstains) rather than unanimous + * agreement (ignoring abstains). If you require unanimity, see + * UnanimousBased. * - * If there were an equal number of grant and deny votes, the decision will be based on the - * allowIfEqualGrantedDeniedDecisions property value (defaults to true). + * If there were an equal number of grant and deny votes, the decision will + * be based on the allowIfEqualGrantedDeniedDecisions property value + * (defaults to true). * * If all voters abstained from voting, the decision will be based on the * allowIfAllAbstainDecisions property value (defaults to false). diff --git a/Authorization/Voter/AuthenticatedVoter.php b/Authorization/Voter/AuthenticatedVoter.php index 9144c1c..4b330f9 100644 --- a/Authorization/Voter/AuthenticatedVoter.php +++ b/Authorization/Voter/AuthenticatedVoter.php @@ -15,7 +15,8 @@ use Symfony\Component\Security\Authentication\Token\AnonymousToken; */ /** - * AuthenticatedVoter votes if an attribute like IS_AUTHENTICATED_FULLY or IS_AUTHENTICATED_ANONYMOUSLY is present. + * AuthenticatedVoter votes if an attribute like IS_AUTHENTICATED_FULLY or + * IS_AUTHENTICATED_ANONYMOUSLY is present. * * @author Fabien Potencier <fabien.potencier@symfony-project.com> */ diff --git a/Authorization/Voter/RoleHierarchyVoter.php b/Authorization/Voter/RoleHierarchyVoter.php index ac7ea46..2309822 100644 --- a/Authorization/Voter/RoleHierarchyVoter.php +++ b/Authorization/Voter/RoleHierarchyVoter.php @@ -15,7 +15,8 @@ use Symfony\Component\Security\Role\RoleHierarchyInterface; */ /** - * RoleHierarchyVoter uses a RoleHierarchy to determine the roles granted to the user before voting. + * RoleHierarchyVoter uses a RoleHierarchy to determine the roles granted to + * the user before voting. * * @author Fabien Potencier <fabien.potencier@symfony-project.com> */ diff --git a/Encoder/BasePasswordEncoder.php b/Encoder/BasePasswordEncoder.php index fa80183..23677f8 100644 --- a/Encoder/BasePasswordEncoder.php +++ b/Encoder/BasePasswordEncoder.php @@ -67,8 +67,8 @@ abstract class BasePasswordEncoder implements PasswordEncoderInterface /** * Compares two passwords. * - * This method implements a constant-time algorithm to compare - * passwords to avoid (remote) timing attacks. + * This method implements a constant-time algorithm to compare passwords to + * avoid (remote) timing attacks. * * @param string $password1 The first password * @param string $password2 The second password diff --git a/Role/Role.php b/Role/Role.php index 998fd1d..3404cb9 100644 --- a/Role/Role.php +++ b/Role/Role.php @@ -12,7 +12,8 @@ namespace Symfony\Component\Security\Role; */ /** - * Role is a simple implementation of a RoleInterface where the role is a string. + * Role is a simple implementation of a RoleInterface where the role is a + * string. * * @author Fabien Potencier <fabien.potencier@symfony-project.com> */ diff --git a/Role/RoleHierarchyInterface.php b/Role/RoleHierarchyInterface.php index 7563ab3..b435618 100644 --- a/Role/RoleHierarchyInterface.php +++ b/Role/RoleHierarchyInterface.php @@ -21,9 +21,8 @@ interface RoleHierarchyInterface /** * Returns an array of all reachable roles. * - * Reachable roles are the roles directly assigned but also all - * roles that are transitively reachable from them in the role - * hierarchy. + * Reachable roles are the roles directly assigned but also all roles that + * are transitively reachable from them in the role hierarchy. * * @param array $roles An array of directly assigned roles * diff --git a/Role/RoleInterface.php b/Role/RoleInterface.php index 328cfdf..4b55609 100644 --- a/Role/RoleInterface.php +++ b/Role/RoleInterface.php @@ -14,9 +14,8 @@ namespace Symfony\Component\Security\Role; /** * RoleInterface represents a role granted to a user. * - * A role must either have a string representation or - * it needs to be explicitly supported by an at least - * one AccessDecisionManager. + * A role must either have a string representation or it needs to be explicitly + * supported by an at least one AccessDecisionManager. * * @author Fabien Potencier <fabien.potencier@symfony-project.com> */ @@ -27,8 +26,8 @@ interface RoleInterface * * This method returns a string representation whenever possible. * - * When the role cannot be represented with sufficient precision - * by a string, it should return null. + * When the role cannot be represented with sufficient precision by a + * string, it should return null. * * @return string|null A string representation of the role, or null */ diff --git a/Role/SwitchUserRole.php b/Role/SwitchUserRole.php index c3c7fa6..d67fa74 100644 --- a/Role/SwitchUserRole.php +++ b/Role/SwitchUserRole.php @@ -14,7 +14,8 @@ use Symfony\Component\Security\Authentication\Token\TokenInterface; */ /** - * SwitchUserRole is used when the current user temporarily impersonates another one. + * SwitchUserRole is used when the current user temporarily impersonates + * another one. * * @author Fabien Potencier <fabien.potencier@symfony-project.com> */ diff --git a/User/InMemoryUserProvider.php b/User/InMemoryUserProvider.php index fd90b36..fbf0ad2 100644 --- a/User/InMemoryUserProvider.php +++ b/User/InMemoryUserProvider.php @@ -18,8 +18,8 @@ use Symfony\Component\Security\Authentication\Token\UsernamePasswordToken; /** * InMemoryUserProvider is a simple non persistent user provider. * - * Useful for testing, demonstration, prototyping, and for - * simple needs (a backend with a unique admin for instance) + * Useful for testing, demonstration, prototyping, and for simple needs + * (a backend with a unique admin for instance) * * @author Fabien Potencier <fabien.potencier@symfony-project.com> */ diff --git a/User/UserProviderInterface.php b/User/UserProviderInterface.php index 0dd12ab..1c8586e 100644 --- a/User/UserProviderInterface.php +++ b/User/UserProviderInterface.php @@ -14,7 +14,8 @@ use Symfony\Component\Security\Exception\UsernameNotFoundException; */ /** - * UserProviderInterface is the implementation that all user provider must implement. + * UserProviderInterface is the implementation that all user provider must + * implement. * * @author Fabien Potencier <fabien.potencier@symfony-project.com> */ @@ -23,7 +24,8 @@ interface UserProviderInterface /** * Loads the user for the given username. * - * This method must throw UsernameNotFoundException if the user is not found. + * This method must throw UsernameNotFoundException if the user is not + * found. * * @param string $username The username * |