Skip to content

RBAC with OpenAPI and vertx-web-openapi-router #44271

Closed Answered by michalvavrik
Stwissel asked this question in Q&A
Discussion options

You must be logged in to vote

The security requirement can be empty to allow anonymous access or could have 1 or more entries which would serve as alternate options, while providing access to required roles and a list of security definitions. I did read RBAC in Quarkus, which works nicely with Annotations, but I'm stuck how I can transfer that to dynamic code.
Would I need to roll my own io.quarkus.security.identity.SecurityIdentity; ?

You create your own HTTP Server, there is no Quarkus HTTP authenticator and therefore, no authentication happens. Considering everything I can see is pure Vert.x, I think you need pure Vert.x solution (better ask Vert.x community how).

If you plan to attach your routes to Quarkus HTTP…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Stwissel
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment