'Why is RestEasy Quarkus ResponseFilter not getting called after 401 status?
Hi this is my ResponseFilter:
@Provider
@Priority(Priorities.AUTHENTICATION)
public class ResponseLoggingFilter implements ContainerResponseFilter {
if (containerResponseContext.getStatus() != Response.Status.OK.getStatusCode()) {
switch (containerResponseContext.getStatus()) {
case 401:
// Do something
break;
The thing is we are using JWT which is automatically evaluated by Quarkus. Unfortunately when the JWT is invalid my ResponseFilter is not getting called. So what should happen in case of 401 status code is not executed.
Does anyone know what to do in case of Quarkus and RestEasy ??
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
