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

Spring boot waffle intercept groups #853

Open
ism-ssw opened this issue Jan 3, 2020 · 1 comment
Open

Spring boot waffle intercept groups #853

ism-ssw opened this issue Jan 3, 2020 · 1 comment

Comments

@ism-ssw
Copy link

ism-ssw commented Jan 3, 2020

When a user logs in, I am trying to intercept the login in order to amend the user details.
My basic requirement is to check the Roles that the user has, see if any match a role configured within the application, and add roles/authorities specific to the application based on these roles.
Other methods of Authentication such as Kerberos, SPNEGO etc offer the possibility of intercepting the user details or providing a user details mapper or user details service.

I was looking for something similar but I am not sure if this is possible.

@hazendaz
Copy link
Member

hazendaz commented Jan 7, 2020

@ism-ssw Since this gives you the user information, couldn't you use something like an interceptor based on the framework you are using (spring, cdi, etc) and simply catch do what you need, then put the values in that users session?

I'm not entirely sure if what you want is possible. Best place to ask this is the user group. [email protected] or review the docs to see if something fits what you are after.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants