-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AuthenticationRequestFilter must define a jarkarta priority #4580
Comments
Thanks for your contribution 🔥 We will take a look asap 🚀 |
note that this will pull in the By default, all filters and interceptors have the USER priority, so it should be easy to simply assign a higher priority to your interceptor? |
Yes, I can do that and I will if its not possible to add this annotation, but it's strange to mark a Authorization filter that have a specific category into another one. |
actually, if you assign the
so if the EDC |
Yes, That the problem. I don't want my authorizationFilter to be trigger before the Authentication one |
ah, i thought it was the other way round :) ok that makes more sense then. In that case, feel free to create a PR that sets the priority. |
Bug Report
Describe the Bug
Currently, the AuthenticationRequestFilter does not defined priority. This makes adding another filter in the chain difficult.
Expected Behavior
The filter should define the
@Priority(Priorities.AUTHENTICATION)
to be in the correct place into the Jersey filter chain.Observed Behavior
When I add another filter via a new Extension, the filter with
@Priority(Priorities.AUTHORISATION)
is trigger before theAuthenticationRequestFilter
.Steps to Reproduce
Steps to reproduce the behavior:
Context Information
Add any other context about the problem here.
Detailed Description
If applicable, add screenshots and logs to help explain your problem.
Possible Implementation
Adding
@Priority(Priorities.AUTHENTICATION)
should fix the problem.The text was updated successfully, but these errors were encountered: