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

Move stateless/stateful at each auth scheme level #236

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

Move stateless/stateful at each auth scheme level #236

radutopala opened this issue Jan 6, 2019 · 0 comments
Assignees
Labels
enhancement lib-security Security (Authc, Authz, Password Crypto, etc)

Comments

@radutopala
Copy link

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 added enhancement lib-security Security (Authc, Authz, Password Crypto, etc) labels Jan 6, 2019
@jeevatkm jeevatkm self-assigned this Jan 9, 2019
@jeevatkm jeevatkm added this to the v0.13.0 Milestone milestone Jan 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement lib-security Security (Authc, Authz, Password Crypto, etc)
Projects
None yet
Development

No branches or pull requests

2 participants