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

Move stateless/stateful at each auth scheme level #236

Open
radutopala opened this Issue Jan 6, 2019 · 0 comments

Comments

@radutopala
Copy link

radutopala commented Jan 6, 2019

We should be able to set stateless / stateful on each auth scheme independently, because an app may have 2 or more auth schemes, for example jwt/generic with stateless and form with stateful.

Current solution from @jeevatkm: achieve the stateless via interceptor (https://docs.aahframework.org/interceptors.html) - define action or controller level Finally interceptor and then call ctx.Session().Clear() or ctx.Subject().Logout().

@jeevatkm jeevatkm self-assigned this Jan 9, 2019

@jeevatkm jeevatkm added this to the v0.13.0 Milestone milestone Jan 10, 2019

@jeevatkm jeevatkm added this to v0.13.0 - Iteration in aah Roadmap via automation Jan 10, 2019

@jeevatkm jeevatkm moved this from v0.13.0 - Iteration to v0.13.0 - In Progress in aah Roadmap Jan 15, 2019

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