Is it possilbe to access UriInfo from a HttpSecurityPolicy? #45618
Answered
by
michalvavrik
brice-laurencin
asked this question in
Q&A
-
I would love to be able to access |
Beta Was this translation helpful? Give feedback.
Answered by
michalvavrik
Jan 15, 2025
Replies: 1 comment 8 replies
-
/cc @sberyozkin (security) |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hey @brice-laurencin and @sberyozkin ,
first of all, to expect that
ActiveRequestContext
will be populated with aUriInfo
is wrong, you need a CDI request context prepared by Quarkus, so just forget about it. I tried to document it in past, but we somehow ended up dropping the text I prepared @sberyozkin :-)-1; our authorization policy should be more efficient and safer unless you are expert on this stuff in Quarkus (so Sergey can follow his own advice :…