Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support For Reactive RememberMe Authentication #5504

Closed
ankurpathak opened this issue Jul 12, 2018 · 9 comments
Closed

Support For Reactive RememberMe Authentication #5504

ankurpathak opened this issue Jul 12, 2018 · 9 comments
Labels
status: declined A suggestion or change that we don't feel we should currently apply status: feedback-provided Feedback has been provided

Comments

@ankurpathak
Copy link
Contributor

I can't find the support for Reactive RemberMe Authentication based on Token and Persistence Store in
Reactive Web Security. For Persistence Remember Me we can use MongoDB instead of JDBC to keep
up the reactive means.

@ankurpathak
Copy link
Contributor Author

ankurpathak commented Oct 18, 2018

@rwinch
This issue is very old. Is is on the list to be added? Or remember me authentication is now considered
a legacy thing by Spring Security Team? Atleash we can add the Plugin point for
it in AuthenticationFilter and let the comunity kick in to provide the rest of support. By Plugin point
I mean the same way as we have in AbstractAuthenticationProcessingFilter in case of Spring MVC.

@rwinch
Copy link
Member

rwinch commented Oct 18, 2018

Sorry for the lack of response. With the ease of offloading sessions with things like Spring Session we generally just recommend using a longer session expiration and offloading the sessions into an external data store (i.e. Redis).

There is already a hook with the ServerAuthenticationSuccessHandler which can mark the session maxIdleTime to be an increased value. Does this meet your needs?

@rwinch rwinch added the status: waiting-for-feedback We need additional information before we can continue label Oct 18, 2018
@ankurpathak
Copy link
Contributor Author

@rwinch You mean to say that the whole mechanish of RememberMe Authentication was develoved
for automatic login when we was lacking projects like Spring Session, and sessions was just confined to single node. So we can simulate long sessions in such envirinments.

@rwinch
Copy link
Member

rwinch commented Oct 24, 2018

Yes. There are some features you may need in regards to marking when the user authenticated so you can perhaps perform custom authorization logic based on the amount of time that the last authentication occurred

@ankurpathak
Copy link
Contributor Author

Thanks Rob. I got your point.

@cbornet
Copy link
Contributor

cbornet commented Feb 22, 2019

For smaller monolith apps, it is still useful to be able to store the session tokens into the main DB and not have to deploy another storage (Spring session doesn't support Mongo).

@ankurpathak
Copy link
Contributor Author

For smaller monolith apps, it is still useful to be able to store the session tokens into the main DB and not have to deploy another storage (Spring session doesn't support Mongo).

@cbornet Spring Session support MongoDb. Plese check this project:
https://github.com/spring-projects/spring-session-data-mongodb

@rwinch rwinch added waiting-for-feedback status: waiting-for-feedback We need additional information before we can continue and removed status: waiting-for-feedback We need additional information before we can continue waiting-for-feedback labels Dec 8, 2020
@spring-projects-issues
Copy link

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

@spring-projects-issues spring-projects-issues added the status: feedback-reminder We've sent a reminder that we need additional information before we can continue label Dec 15, 2020
@jzheaux jzheaux added status: declined A suggestion or change that we don't feel we should currently apply status: feedback-provided Feedback has been provided and removed status: feedback-reminder We've sent a reminder that we need additional information before we can continue status: waiting-for-feedback We need additional information before we can continue labels Dec 16, 2020
@jzheaux jzheaux closed this as completed Dec 16, 2020
@wind57
Copy link

wind57 commented Aug 12, 2022

yeah, "supported". that MongoDB project last commit was 1.5 years ago (at the moment of this writing). Also look at how no one comments on issues over there, it's more a dead project than alive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined A suggestion or change that we don't feel we should currently apply status: feedback-provided Feedback has been provided
Projects
None yet
Development

No branches or pull requests

6 participants