Replies: 2 comments 1 reply
-
/cc @sberyozkin (security) |
Beta Was this translation helpful? Give feedback.
0 replies
-
@eijckron Hi, do each of these new user/role combinations touch on different endpoint code paths ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Quarkus test security allows to run a test with a specified user and roles.
For example these annotations define a test that is executed as user testUser with a JWT that has sub set to test-user-id.
However I have a couple of use cases where I would like to define the security for the call dynamically like:
Besides setting up keycloak dev services with all the possible dynamic users I have not found any references to a setup that would allow to have these test mock users behave in the same way as the test mock users defined through the annotations.
Scenario's that would benefit from this dynamic behavior:
Beta Was this translation helpful? Give feedback.
All reactions