Johannes M. Schmitt
53f3ff8258
[Security] adds a chain user provider
2011-02-16 23:00:27 +01:00
Johannes Schmitt
82c6844147
[Security] moved Security classes out of DoctrineBundle, cleaned-up SecurityExtension accordingly
...
Note that this commit removes the built-in support for MongoDB user providers.
This code can be moved back in once there is a stable release for MongoDB, but
for now you have to set-up that user provider just like you would set-up any
custom user provider:
security:
providers:
document_provider:
id: my.mongo.provider
2011-02-16 23:00:27 +01:00
Johannes Schmitt
dfd921822a
[Security/Http] Adds CSRF protection to the form-login
2011-02-16 23:00:27 +01:00
Johannes M. Schmitt
d22743cf3a
[Security] removed defaults from boolean columns
2011-02-16 23:00:27 +01:00
Victor Berchet
1d7f8120e0
Update code with latest Finder changes
2011-02-16 22:53:11 +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 M. Schmitt
bc05bef2b9
[Security] fixes a bug in DigestAuthenticationListener
2011-02-14 20:55:07 +01:00
Johannes M. Schmitt
44b89e5ac3
[Security] fixes a bug when clearing cookies on logout
2011-02-14 20:55:07 +01:00
Johannes Schmitt
b685b3ab4d
[Security] adds logout success handler
2011-02-14 20:55:07 +01:00
Johannes Schmitt
9e6fc0a11e
[Security] fixes a bug where authentication errors might have leaked confidential information
2011-02-14 20:55:06 +01:00
Johannes Schmitt
5c7fe8f866
[Security] simplified encoder factory implementation
2011-02-14 20:55:06 +01:00
Johannes M. Schmitt
b9f4eab5c2
[Security/Acl] added pre-generated schemas
2011-02-14 20:55:06 +01:00
Deni
657f90a931
[Security] Fixed missed argument in call custom handler when authentication is successful.
2011-02-13 22:27:28 +01:00
dordille
205621dee8
Changed namepace use of SecurityContext to SecurityContextInterface so that constant SecurityContextInterface::LAST_USERNAME would resolve properly
...
Also changed method signature of __construct to take and instance of SecurityContextInterface instead of SecurityContext
2011-02-13 10:36:15 +01:00
Johannes M. Schmitt
3dfc09cd8d
[Security] fixes some regressions
2011-02-13 00:15:57 +01:00
Jordi Boggiano
9bcd1b3e5f
[Security] Fixed indenting
2011-02-12 22:14:16 +01:00
Johannes Schmitt
9749da6e52
[Security] performance improvements of PermissionGrantingStrategy
2011-02-12 21:53:04 +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
Christophe Coevoet
74b87294c2
Fixed access denied handling
2011-02-10 15:32:59 +01:00
Fabien Potencier
37537e3e8c
fixed previous commit
2011-02-04 19:38:42 +01:00
Lukas Kahwe Smith
dd71501f54
some fixes by just "blindly" trying to make phpStorm code analysis happier
2011-02-04 19:30:28 +01:00
Lukas Kahwe Smith
661d5d236c
fixed method call, cosmetic variable rename
2011-02-04 00:32:15 +01:00
Fabien Potencier
5288381f61
Revert "[Security] Missing Event namespace in SwitchUserListener"
...
This reverts commit 0169892dcd
.
2011-02-02 14:35:29 +01:00
Jeremy Mikola
0169892dcd
[Security] Missing Event namespace in SwitchUserListener
2011-02-02 11:32:56 +01:00
Johannes M. Schmitt
2b697423b4
[Security] bug fix in FormAuthenticationEntryPoint
2011-02-02 11:31:28 +01:00
Sebastian Utz
4d5853866a
[Security] fixed a Token serialization bug
2011-02-02 11:31:28 +01:00
Johannes M. Schmitt
fbc21fedf7
[Security] some bug fixes
2011-02-02 11:31:28 +01:00
Sergey Linnik
92ddaa11cd
Fixed typo
2011-01-28 18:46:27 +01:00
Bulat Shakirzyanov
81219bba15
[Security] fixed typo
2011-01-28 18:20:59 +01:00
Johannes M. Schmitt
8ccb8eb8c2
added two events "security.interactive_login", and "security.switch_user"
2011-01-27 13:49:01 +01:00
Johannes M. Schmitt
00d3d8c3bc
renamed PreAuthenticatedListener to AbstractPreAuthenticatedListener to be consistent
2011-01-27 13:49:01 +01:00
Johannes Schmitt
139510a78e
added some doc comments
2011-01-27 13:49:00 +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
Johannes Schmitt
e0fe42d050
removed isAuthenticated() from SecurityContext
2011-01-26 16:38:54 +01:00
Johannes Schmitt
57ae50e894
[Security] many improvements, and fixes
2011-01-26 16:38:54 +01:00
Lukas Kahwe Smith
ddea635a51
fixes else -> } else
2011-01-19 07:20:23 +01:00
Dominique Bongiraud
64fb94c725
normalized license messages in PHP files
2011-01-18 08:07:46 +01:00
Fabien Potencier
1c3a01b25c
removed duplicate code
2011-01-07 17:14:41 +01:00
Johannes M. Schmitt
314defa8b4
added generic encoder factory
2011-01-06 19:20:56 +01:00
Johannes M. Schmitt
0449dbdc5d
added extra exception if only a partial result is found
2011-01-05 22:51:05 +01:00
Johannes M. Schmitt
55a48bcfa6
optimized AclVoter, added unit test
2011-01-03 07:46:16 +01:00
Johannes M. Schmitt
a99d8c8558
fix possible duplicate security identities
2011-01-02 10:53:54 +01:00
Johannes Schmitt
b4288459cc
added ACL system to the Security Component
2010-12-31 09:25:53 +01:00
Johannes Schmitt
27f540463a
added generic encoder factory
2010-12-21 16:23:46 +01:00
Fabien Potencier
b57411b5ec
renamed reloadUserByAccount() to loadUserByAccount()
2010-12-18 08:15:13 +01:00
Johannes Schmitt
df6ffbbf07
remove user provider name
2010-12-18 08:10:53 +01:00
Johannes Schmitt
3c692bd160
fixed user refreshing after unserialization
2010-12-15 17:38:30 +01:00
Johannes Schmitt
abe8047262
added authentication trust resolver
2010-12-12 10:49:43 +01:00