Fabien Potencier
2b5d4b90d8
merged 2.0
2011-11-24 07:16:52 +01:00
Fabien Potencier
5878490b16
removed unused use statements
2011-11-24 07:16:14 +01:00
Fabien Potencier
a7296e7c84
[Security] made exceptions thrown by the user checker and the checkAuthentication() method use the hideUserNotFoundExceptions flag
2011-11-07 22:43:16 +01:00
Fabien Potencier
dec43f5539
merged 2.0
2011-10-29 12:01:39 +02:00
Fabien Potencier
851eb73778
removed unused use statements
2011-10-29 11:56:30 +02:00
H. Westphal
3e2f1a4b13
Removed executable bits from all php files
2011-09-09 15:16:17 +02:00
H. Westphal
a0a97c6a22
Removed executable bits from all php files
2011-09-07 22:51:20 +02:00
stloyd
838237dc32
[Tests] Use proper phpunit assertion functions: "assertTrue", "assertFalse", "assertNull"
2011-08-25 15:41:15 +02:00
Fabien Potencier
277d75b7ce
[Security] added a unit test for previous merge
2011-08-23 08:52:50 +02:00
Fabien Potencier
fa9b920051
[Security] renamed UserProviderInterface::loadUser() to refreshUser()
2011-06-16 18:00:36 +02:00
Fabien Potencier
17cd08dc6c
fixed CS
2011-06-08 19:56:59 +02:00
Fabien Potencier
65200aa86a
added missing license headers
2011-05-31 10:57:06 +02:00
hhamon
230b3fff53
added unit tests for User::equals() method
2011-03-21 09:26:09 +01:00
Johannes M. Schmitt
4539b47522
[Security] small performance optimization
2011-03-14 17:41:33 +01:00
Pascal Borreli
fb33358d20
[Security] Fixed test
2011-03-12 16:17:42 -08:00
Johannes Schmitt
70867f06e9
re-added a __toString method for debugging purposes
2011-03-12 13:24:57 +01:00
Johannes M. Schmitt
3d97638813
[Security] refactored remember-me code
2011-03-11 01:19:55 +01:00
Johannes M. Schmitt
13665fc113
[Security] added some more tests
2011-03-10 10:25:33 +01:00
Johannes Schmitt
1d5538fc60
[Security] various changes, see below
...
- visibility changes from protected to private
- AccountInterface -> UserInterface
- SecurityContext::vote() -> SecurityContext::isGranted()
2011-03-10 10:25:32 +01:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Johannes Schmitt
f82b89cdc5
[Security] changed defaults for MessageDigestEncoder
...
- encode_as_base64 set to true
- iterations increased to 5000 from 1
2011-03-05 13:45:35 +01:00
Jeremy Mikola
5113886f34
[Security] Copy token attributes when auth providers create a new token from another
...
PreAuthenticatedAuthenticationProvider and UserAuthenticationProvider tend to copy a token instead of modifying it during their authenticate() methods, which is probably a good idea if the token might be immutable. Ensure that the token's attributes get copied along with everything else.
2011-02-23 16:03:01 -05:00
Johannes M. Schmitt
53f3ff8258
[Security] adds a chain user provider
2011-02-16 23:00:27 +01:00
Jeremy Mikola
cc4eb6b40f
[Security] Add providerKey to PreAuthenticatedToken tokens constructed by PreAuthenticatedAuthenticationProvider
2011-02-15 21:55:24 +01:00
Jeremy Mikola
b8d574087f
[Security] Allow authentication tokens to hold attributes
2011-02-15 21:50:02 +01:00
Johannes Schmitt
5c7fe8f866
[Security] simplified encoder factory implementation
2011-02-14 20:55:06 +01:00
Johannes Schmitt
19bbafc441
[Security] Refactored security context, moved getUser() implementation to templating
2011-02-12 21:53:04 +01:00
Johannes Schmitt
66fbbd6b17
[Security] removed __toString() from AccountInterface
2011-02-12 21:53:04 +01:00
Johannes M. Schmitt
cf64d2cfe7
namespace changes
...
Symfony\Component\Security -> Symfony\Component\Security\Core
Symfony\Component\Security\Acl remains unchanged
Symfony\Component\HttpKernel\Security -> Symfony\Component\Security\Http
2011-01-26 22:23:20 +01:00