-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
DefaultJaxRsRolesAllowedImplMethodSecuredTest produces a large number of errors #43017
Comments
@mkouba are you looking at it or do you want me to? |
which one, Quarkus REST or RESTEasy Classic one? |
I'm not. Feel free to take it ;-) |
|
I see. Yes, that error is expected, when is security check run - it must not get to serialization unless you are authentication/authorized. So @geoand I think you can just silence it (if you want, or it has to wait till weekend, I am busy ATM). It doesn't signal anything security-wise wrong. |
btw, I suppose it will be true for many classes in that package, I didn't realize that. |
Well, I can see errors like:
Is that really expected? |
What test does with invalid payload is:
It is a way to recognize whether security check is performed by CDI interceptors or eagerly. HTTP statuses are what you care about. |
cc @sberyozkin anyway, just to assure @mkouba |
The Jackson error is indeed expected. We simply need to not log it - I'll have a look |
Thank you. Please check other test classes in that package. |
Fixes: quarkusio#43017 (cherry picked from commit b459c98)
Description
And produces 6K+ of useless lines in the log.
Implementation ideas
No response
The text was updated successfully, but these errors were encountered: