grails-spring-security-core icon indicating copy to clipboard operation
grails-spring-security-core copied to clipboard

Feature Request: Automatically configure "concurrent sessions" support

Open joemccall86 opened this issue 6 years ago • 1 comments

See https://docs.spring.io/spring-security/site/docs/current/reference/html5/#concurrent-sessions

I've implemented this in our Grails application using a combination of resources.groovy and BootStrap.groovy using clientRegisterFilter, but it seems like it would fit right in with this plugin as a configuration option.

I'm thinking something like grails.plugin.springsecurity.trackConcurrentSessions: true|false. It can be false by default.

I'm happy to contribute this feature as a PR if you think it's worthwhile.

joemccall86 avatar Oct 11 '18 18:10 joemccall86

That's great! ✨ All contributions are welcome!

All I ask is that you provide tests where applicable/possible and be open to a code review on the PR.

Thank-you very much!

ddelponte avatar Oct 12 '18 14:10 ddelponte