Replies: 2 comments
-
/cc @sberyozkin |
Beta Was this translation helpful? Give feedback.
0 replies
-
Override the |
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
-
At the moment, I have the following
HttpSecurityPolicy
which is invoked on every request:According to the HttpSecurityPolicy documentation, if I created a named policy, it can then be referenced in the
application.properties
path matching rules, which allows this policy to be applied to specific requests. Same thing is explained in the quarkus.http.auth.permission.-permissions-.policy documentation.So then, is it possible to create a named
mypolicy
policy that I can later reference like:I've tried with
@Named
but is not working. I cannot useHttpSecurityPolicyBuildItem
because I'm not developing an extension. It seems that Quarkus read all available policies in HttpSecurityProcessor, but I have no idea how I can add my policy to thatpolicyMap
.Beta Was this translation helpful? Give feedback.
All reactions