Skip to content
Discussion options

You must be logged in to vote

Hi @SDAChess,

Currently, Keycloak authorization policies can only be set in application.properties, annotations like @PermissionsAllowed do not map. @PermissionsAllowed works on the existing properties of the current identity.

It may warrant a new enhancement request where, instead of quarkus.keycloak.policy-enforcer.paths.1.paths=/hello/permission one uses an annotation, which can be neat, but it can't be @PermissionsAllowed but a keycloak authorization specific annotation like @KeycloakAuthorization. Would you be interested in working on the PR ?

A far as the centralized authorization is concerned, #52233 is next so I'm not sure when we can ourselves prioritize on enhancing the quarkus-…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@SDAChess
Comment options

@SDAChess
Comment options

@sberyozkin
Comment options

@michalvavrik
Comment options

@sberyozkin
Comment options

Answer selected by SDAChess
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants