Hi

The implementation should not rely on Doctrine. The center piece of concurrent 
sessions is the ConcurrentSessionControlStrategy, which extends the 
SessionAuthenticationStrategy and needs to be in the Security Component. The 
SessionRegistry, however, needs a SessionRegistryStorage, which relates 
information about users and their sessions, and stores them in whatever data 
store the application uses.
So, I'd suggest to implement this as an interface like I did. (And add 
SessionRegistryStorage in separate bundles.) However, Johannes suggested that I 
include a default Doctrine implementation, which, as I understood, should not 
be in a separate bundle. So I wonder what could be a good place to do that.

regards

Stefan

On May 5, 2011, at 4:04 PM, Christophe COEVOET wrote:

> Le 05/05/2011 15:45, Stefan Paschke a écrit :
>> Hi
>> 
>> I just submitted another pull request to implement concurrent sessions to 
>> the Security Component: https://github.com/symfony/symfony/pull/786
>> 
>> It does not include an implementation of the SessionRegistryStorage class, 
>> instead I included a SessionRegistryStorageInterface that must be 
>> implemented using a data store of choice. Johannes suggested to include a 
>> Doctrine implementation as a default, however, I don't see how that could go 
>> into the core. Can anyone give me some advice on this?
>> 
>> regards
>> 
>> Stefan
>> 
> If the implementation relies on Doctrine, the good place IMHO would be either 
> DoctrineBundle, either a separate bundle (distributed in its own repo)
> 
> -- 
> Christophe | Stof
> 
> -- 
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
> 
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to