Replies: 1 comment
-
Hi @kruckerr the @authenticate and @authorize annotations are the preferred vertx way of doing this. For Vert.x applications, I'd recommend going with the authenticate + authorize approach rather than looking for @roles annotations because: More explicit control - You can see exactly what's happening in your routing This said, the @roles annotation will stay in and work as expected for the foreseeable future, but don't count on it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
What is the reason for deprecation of the methods getPermitAll(), getRoles() and checkSecurity() in RouteDefinition class? Do you have an example how to implement a role based user authorization without these methods?
Beta Was this translation helpful? Give feedback.
All reactions