Skip to content

Conversation

@paschke
Copy link

@paschke paschke commented May 5, 2011

an implementation of the Spring concurrent sessions in the Security Component, now using Doctrine DBAL. Can be configured like:

security:
    ...
    session_registry:
        connection: default
        tables:
            session_information: cs_session_information

    firewalls:
        ...
        secured_area:
            ...
            session_concurrency:
                max_sessions: 5
                expiration_url: /expired

to init, run the init:concurrent-session command, which will create a DBAL implementation of the Symfony\Component\Security\Http\Session\SessionRegistryStorageInterface. You can also provide a custom implementation.

@stof
Copy link
Member

stof commented May 7, 2011

Shouldn't it be what the Symfony\Bridge\Doctrine namespace is for ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/reqired/required

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo still needs to be fixed

@lsmith77
Copy link
Contributor

lsmith77 commented Jun 6, 2011

I guess the big question if to use the ORM or the DBAL. obviously there will be a need for some model object either way.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove these @return void. Sf2 does not use them. And this method should use {@inheritdoc}

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@stof
Copy link
Member

stof commented Apr 4, 2012

@fabpot @schmittjoh what do you think about it ?

@paschke
Copy link
Author

paschke commented Apr 4, 2012

sorry I haven't reacted to your comments, customer is not requesting the feature any more and I need to continue on my own time, of which I have little atm. I basically agree with your suggestions and will implement them asap.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be !==

@stof
Copy link
Member

stof commented Apr 11, 2012

Tests are missing

@dlsniper
Copy link
Contributor

dlsniper commented Jan 9, 2013

This is tagged with [2.2] what's the status of it? If it needs to be rebased I'm in for helping out, as well as the reminder of comments from @stof
For tests I'll need to get a better look on it but @schmittjoh said a year ago he doesn't have time for it and @fabpot hasn't replied yet.

@fabpot
Copy link
Member

fabpot commented Apr 25, 2013

I'm closing this old PR as there is no more activity on it and because it probably does not apply anymore cleanly. I've opened a ticket about this feature request at #7845

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants