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

OICD Pluggable permission mapper #1469

Conversation

avgustinmm
Copy link
Contributor

By default the resource_access//roles claim is mapped to hawkBit permissions. However, by registering a Spring bean org.eclipse.hawkbit.autoconfigure.security.OidcUserManagementAutoConfiguration.JwtAuthoritiesExtractor a custom extractor permission mapper could be registered.

By default the resource_access/<client id>/roles claim is mapped to hawkBit permissions.
However, by registering a Spring bean _org.eclipse.hawkbit.autoconfigure.security.OidcUserManagementAutoConfiguration.JwtAuthoritiesExtractor_ a custom extractor permission mapper could be registered.

Signed-off-by: Marinov Avgustin <[email protected]>
@hawkbit-bot
Copy link

Can one of the admins verify this patch?

@avgustinmm avgustinmm merged commit ac946e7 into eclipse-hawkbit:master Nov 3, 2023
3 checks passed
@avgustinmm avgustinmm added this to the 0.3.0 milestone Nov 22, 2023
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

Successfully merging this pull request may close these issues.

2 participants